[Python-bugs-list] [Bug #123520] Example code doesn't work
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 26 Nov 2000 21:10:07 -0800
Bug #123520, was updated on 2000-Nov-26 21:10
Here is a current snapshot of the bug.
Project: Python
Category: Documentation
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Example code doesn't work
Details: In section 4.7.4 the code snippet:
def make_incrementor(n):
return lambda x, incr=n: x+incr
doesn't seem to work. It seems to be returning the lambda function handle instead. This occurred on Win98, using python interactively.
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=123520&group_id=5470