PyObject -> CompiledObject, PyName -> CompiledName

This commit is contained in:
Dave Halter committed 2014-01-13 14:09:03 +01:00
1 parent 0c98c05cd3
commit 83b490dd6d
10 files changed
+36 -36

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class NameFinder(object):
if not result and isinstance(self.scope, er.Instance):
# __getattr__ / __getattribute__
for r in self._check_getattr(self.scope):
if not isinstance(r, compiled.PyObject):
if not isinstance(r, compiled.CompiledObject):
new_name = copy.copy(r.name)
new_name.parent = r
result.append(new_name)