fp/lambda question

Mark McEahern marklists at mceahern.com
Fri Apr 12 21:40:27 EDT 2002


[Jozef]
> I am not really sure even what this means... does lambda create a new
> scope or something? Is there another way to write this?

What you wrote seems to work for me.  I'm using Python 2.2.1.  What version
are you using?  nested_scopes is new with 2.2, but available in 2.1 with
from future import, true?

// mark






More information about the Python-list mailing list