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-March/062140.html below:

[Python-Dev] "as" mania

[Python-Dev] "as" mania [Python-Dev] "as" maniaGeorg Brandl g.brandl at gmx.net
Tue Mar 7 18:52:16 CET 2006
[HPH the BDFL]
> I suggest you file those as products of an overactive imagination. :-)

At least not only mine. ;)

> Have you even tried to define precise semantics for any of those, like
> the expansion of "with E as V: B" in PEP 343?

Easily.

if expr as name:
    BLOCK

would be equivalent to

name = expr
if name:
    BLOCK
del name

Same for while.

Georg

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