anonymous functions? class?

Erik Max Francis max at
Fri Nov 16 19:39:17 CET 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 /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference /
 An Esperanto reference for English speakers.

More information about the Python-list mailing list