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/2013-August/127732.html below:

[Python-Dev] Lambda [was Re: PEP 8 modernisation]

[Python-Dev] Lambda [was Re: PEP 8 modernisation] [Python-Dev] Lambda [was Re: PEP 8 modernisation]Vito De Tullio vito.detullio at gmail.com
Thu Aug 1 19:55:03 CEST 2013
Steven D'Aprano wrote:

> Lambda is still useful for the reason lambda has always been useful: it is
> an expression, not a statement, so you can embed it directly where needed.

are there some possibilities to change def to an expression? do I need to 
wait 'till python9k?

yes, this brings to the possibility to write something like

foo = def bar():
    pass

but at least should let the lambda to die in peace...


-- 
ZeD

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