anonymous functions? class?

Erik Max Francis max at alcyone.com
Fri Nov 16 13:39:17 EST 2001


Duncan Booth wrote:

> Your second point is correct, but the first one is wrong. You can have
> a
> lambda with no arguments if you wish.

True.  Following the original poster's code, I was thinking of a lambda
function (with no arguments) and which evaluates to `pass', which is of
course illegal.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list