Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: