A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/065108.html below:

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

[Python-Dev] PEP-xxx: Unification of for statement and list-comp syntax [Python-Dev] PEP-xxx: Unification of for statement and list-comp syntaxGreg 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4