A replacement for lambda
Christopher Subich
spam.csubich+block at block.subich.spam.com
Sat Jul 30 21:05:03 EDT 2005
Paul Rubin wrote:
> Christopher Subich <spam.csubich+block at block.subich.spam.com> writes:
>
>>My personal favourite is to replace "lambda" entirely with an
>>"expression comprehension", using < and > delimeters.
>
>
> But how does that let you get more than one expression into the
> anonymous function?
It doesn't. Functionally, it's a direct replacement of lambda as-is.
More information about the Python-list
mailing list