lambdas (lambda x: printx)

Michal (wytnijto) misza at cueEvolution.com
Wed Dec 3 15:43:02 EST 2003


Hi,

Today I started with python and I cannot understand why expresion
lambda x: print x
returns syntax error (but for example lambda x: sys.stdio.write(x) does not)
First I fought the reason is scopeing, but it shouldnt return syntax error.

misza






More information about the Python-list mailing list