Alternate indent proposal for python 3000

Lie Lie.1296 at gmail.com
Tue Apr 22 05:39:58 EDT 2008


On Apr 21, 7:04 am, "Terry Reedy" <tjre... at udel.edu> wrote:
> Off the top of my head: copy C and use {} to demarcate blocks and ';' to
> end statements, so that '\n' is not needed and is just whitespace when
> present.  So, repeatedly scan for the next one of '{};'.

try this:
from __future__ import braces

:)



More information about the Python-list mailing list