Anonymus functions revisited : tuple actions

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Fri Mar 25 12:58:27 EST 2005


Ron_Adam wrote:

> What if you could:
> 
>     x = lambda{ x, y: x+y}  
> Hmm comma creates a problem here. so...

>>> from __future__ import braces
SyntaxError: not a chance
>>>

Reinhold ;)



More information about the Python-list mailing list