On Wed, Aug 26, 2009 at 2:14 AM, Diez B. Roggisch <de...@nospam.web.de>wrote:

>
> Classes are not scopes.
>
> So the above doesn't work because name resolution inside functions/methods
> looks for local variables first, then for the *global* scope. There is no
> class-scope-lookup.


Sorry, I'm coming here with sincere ignorance. If local variables and global
variables are not "scopes", then what would it be?

Cheers,
-Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to