Python is not [yet] Considered Harmful

mike420 at ziplip.com mike420 at ziplip.com
Mon Oct 27 01:56:19 EST 2003


map(lambda f: f(1), [lambda x: x + 1 for i in range(3)])

Oh, OK, it was a typo (1 instead of i). I take it all back (for now).

It was an honest mistake, not a troll! Still, I think it should
be [1, 2, 3] instead of [3, 3, 3]




More information about the Python-list mailing list