Gerhard Fiedler wrote: > function() > loop1() > blah > blah > > loop2() > blah > > loop3() > blah > #end loop3() > > blah3 > #end loop2() > #end loop1() > > otherloop() > blah > #end otherloop() > #end function() > > Of course, few people will write like this, but it probably is easier to > write a Python code formatter that adds them than it is to write a C code > formatter that adds proper indentation and provides your preferred > placement of braces.
It's already there: Tools/scripts/pindent.py. Georg -- http://mail.python.org/mailman/listinfo/python-list