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/2005-April/052902.html below:

[Python-Dev] Re: anonymous blocks

[Python-Dev] Re: anonymous blocks [Python-Dev] Re: anonymous blocksSimon Percivall s.percivall at chello.se
Mon Apr 25 16:26:06 CEST 2005
On 25 apr 2005, at 16.14, Terry Reedy wrote:
> with <target> as <value>:
>
> would parallel the for-statement header and read smoother to me.
>
> for <target> as <value>:
>
> would not need new keyword, but would require close reading to  
> distinguish
> 'as' from 'in'.

But it also moves the value to the right, removing focus. Wouldn't  
"from"
be a good keyword to overload here?

"in"/"with"/"for"/"" <value> from <target>:
     <BODY>

//Simon

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