Multiline lamba implementation in python.

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Jun 11 23:57:04 EDT 2007


En Tue, 12 Jun 2007 00:02:37 -0300, Josh Gilbert  
<jgilbert.python at gmail.com> escribió:

> I don't expect multiline lambdas to be added to Python. I'm not so sure  
> that
> that's a bad thing. Regardless, isn't it possible to write your own
> implementation of multiline lambdas as functions? Wouldn't that be a  
> win-win
> for everyone?

If you want to "implement multiline lambdas as functions"... why don't you  
use a plain old function?

-- 
Gabriel Genellina




More information about the Python-list mailing list