proposed syntax for multiline anony-functions (hopefully?)

Terry Reedy tjreedy at udel.edu
Thu Aug 21 06:07:25 EDT 2014


On 8/21/2014 5:14 AM, icefapper at gmail.com wrote:
> it is simply a matter of convenience:
>
>
> def a():
>    print( "gvr" )
> func(a);
>
> or
>
> func( def():
>     print("gvr")
> )
>
> it would be great if others could further share their opinions

I have, multiple time in previous threads. A bad idea. Unnecessary. 
Nearly useless.

-- 
Terry Jan Reedy




More information about the Python-list mailing list