proposed syntax for multiline anony-functions (hopefully?)

Marko Rauhamaa marko at pacujo.net
Thu Aug 21 05:27:08 EDT 2014


icefapper at gmail.com:

> 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 

In practice, your proposal would not make life easier for Python
programmers.


Marko



More information about the Python-list mailing list