Comment on What Python FixesparentComments−koenigdavidmj16yPython 3 lets you use the statement 'nonlocal varname' and it will grab it from the outer scope, as well.−zephyrfalcon16yAh, yes. I should have mentioned that I was talking about Python 2.x.
Comments
Python 3 lets you use the statement 'nonlocal varname' and it will grab it from the outer scope, as well.
Ah, yes. I should have mentioned that I was talking about Python 2.x.