[Python-Dev] PEP-xxx: Unification of for statement and list-comp syntax
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 <expr> in (<some>
> <non-trivial>
> <stuff>) if (<one expr> and
> <two expr> and
> <three expr>):
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