News for hackers. Stuff that matters.
Re:Curing Python's Neglect by ii on Saturday May 30, 2009 @06:15AM (#633487)

  >>> class ExitFunc:
  ...   def __call__(self): __builtins__.exit()
  ...   def __repr__(self): return "That's how!"
  ...
  >>> exit = ExitFunc()
  >>> exit
  That's how!
  >>> exit()

There are no comments on this comment yet.