"Egor Bolonev" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> why functions created with lambda forms cannot contain statements?

Because lambda was only ever intended to be an inline abbreviation of 
simple one-use functions whose body consists of 'return <expression>'.  It 
is clear to me that the word 'lambda' was a mistake since it engenders 
expectations of more than that from too many people, such as you.

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to