a little trap revealed (was Re: Let's Talk About Lambda Functions!)

Erik Max Francis max at alcyone.com
Sat Jul 27 19:31:09 EDT 2002


Michele Simionato wrote:

> I know a print statement cannot stay in a lambda function, however as
> a
> newbie I ask : why ?

Because a lambda is an expression, not a statement.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ See the son in your bad day / Smell the flowers in the valley
\__/ Chante Moore
    Bosskey.net: Aliens vs. Predator 2 / http://www.bosskey.net/avp2/
 A personal guide to Aliens vs. Predator 2.



More information about the Python-list mailing list