alternatives to making blocks like { } or other ??

Duncan Booth me at privacy.net
Thu May 20 10:36:50 EDT 2004


asmirnov1234567890 at yahoo.com (Andrei Smirnov) wrote in 
news:9ace45f.0405200616.7e5110ba at posting.google.com:

> 
> Please, Python writers, do provide braces as compatibility mode. 
> 
> Give the chance to the world!

The world seems to be switching to Python quite happily despite (or 
possibly because of) the lack of braces.

If you must do this, then Python comes with a script to insert/remove #end 
directives. See Tools/Scripts/pindent.py. Use "pindent.py -c" whenever your 
boss wants to review the code, and "pindent.py -d" immediately afterwards.



More information about the Python-list mailing list