3 ms·
> Python has full dynamic scoping, which means that inside a function you can refer to any variables set in outer scopes. You are describing lexical scope, not
by adgar 15y ago
> Python has full dynamic scoping, which means that inside a function you can refer to any variables set in outer scopes.
You are describing lexical scope, not dynamic scope.