Finally, we can do without the annoying "whitespace is signigicant" crap. You can import a new feature called braces from the __future__ module. For those who don't know, the __future__ module contains new features that are not yet included in the current Python version.

Now, instead of doing this:

def foo(): # Ugh, I hate whitespace indents print 'Hello Braces!'

You can do this:

from __future__ import braces def foo() { print 'Hello Braces!' } # Only one line!!!11!!11

April Fools!



blog comments powered by Disqus

Published

01 April 2009

Tags