Hacker News new | ask | show | jobs
by adgar 5350 days 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.