[Python-Dev] PEP-xxx: Unification of for statement and list-comp syntax (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 22 08:29:33 CEST 2006


Heiko Wundram wrote:

You can also do the same here (by using normal bracketing):

for in ( ) if ( and and ):

So you want to be able to write the if in-line, and then format it so that it's no longer in-line? The point of doing that eludes me...

-- Greg



More information about the Python-Dev mailing list