Confused by Python and nested scoping (2.4.3)

Kent Johnson kent at kentsjohnson.com
Thu Apr 20 08:13:27 EDT 2006


Kelvie Wong wrote:
> There are only two scopes in Python -- global scope and function scope.

No, Python has local, nested, global and built-in scope.

Kent



More information about the Python-list mailing list