2 ms·
But it's not a global variable, it's scoped within the closure. So, this means Python doesn't have lexical scoping?
by silentbicycle 18y ago
But it's not a global variable, it's scoped within the closure. So, this means Python doesn't have lexical scoping?
- eru 18y agoIt has. Just the syntax was a bit awkward when modifying variables of higher scope. See sibling comment.