micropython/data.py | raw changeset files shortlog |
1.1 --- a/micropython/data.py Wed Jun 20 00:44:03 2012 +0200 1.2 +++ b/micropython/data.py Fri Jun 22 00:11:51 2012 +0200 1.3 @@ -183,7 +183,7 @@ 1.4 node._scope = scope 1.5 self.note_scope(name, scope) 1.6 1.7 - if full_name is not None and (scope != "local" or self is self.module): 1.8 + if full_name is not None and (scope != "local" or isinstance(self, (Class, Module))): 1.9 self.use_specific_attribute(full_name, name) 1.10 1.11 return attr