lambda

Tim Leslie tim.leslie at gmail.com
Thu Jan 13 07:00:34 EST 2005


Because if it takes more than a single line it deserves a name. Also,
if you have more than one line in this function, how do you plan to
reference it if not by name?

Tim


On Thu, 13 Jan 2005 20:53:09 +1000, Egor Bolonev <ebolonev at mail.ru> wrote:
> why functions created with lambda forms cannot contain statements?
> 
> how to get unnamed function with statements?
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list