python: lexical or dynamic scope?

globalrev skanemupp at yahoo.se
Tue May 13 15:27:24 EDT 2008


i cant figure outif python has lexical or general scope.

it seems functions have lexical scope but with some restrictions and
some non-function scopes are dynamic?



More information about the Python-list mailing list