3 ms·
Python 3 lets you use the statement 'nonlocal varname' and it will grab it from the outer scope, as well.
by koenigdavidmj 16y ago
Python 3 lets you use the statement 'nonlocal varname' and it will grab it from the outer scope, as well.
- zephyrfalcon 16y agoAh, yes. I should have mentioned that I was talking about Python 2.x.