13 Jun
2011
13 Jun
'11
8:21 a.m.
There are some bugs in the code example in the PEP's section "Detailed Semantics #1: Early Binding of Variable References": There is: assert seq == ... ...and should be: assert map(lambda x: x(), seq) == ... (3 times) There is: def f(_i=i): return i ...and should be: def f(_i=i): return _i Cheers. *j