[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
- Previous message: [Python-Dev] PEP-xxx: Unification of for statement and list-comp syntax
- Next message: [Python-Dev] PEP-xxx: Unification of for statement and list-compsyntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP-xxx: Unification of for statement and list-comp syntax
- Next message: [Python-Dev] PEP-xxx: Unification of for statement and list-compsyntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]