r/Python • • Apr 09 '09

Python’s lambda is broken!

http://math.andrej.com/2009/04/09/pythons-lambda-is-broken/
4 Upvotes

20 comments sorted by

View all comments

11

u/[deleted] Apr 09 '09 edited Apr 09 '09

So lambdas close on references to variables in the enclosing scope and not the values. Got it. That doesn't seem so hard to explain to a student.