Filter names in a separate function so that it can be used for both completion and name lookups.

This commit is contained in:
Dave Halter
2015-01-07 13:56:35 +01:00
parent ec76d57679
commit 987121ae5c
3 changed files with 30 additions and 23 deletions
-1
View File
@@ -515,7 +515,6 @@ class Class(use_metaclass(CachedMetaClass, Wrapper)):
yield self.names_dict
else:
for scope in self.py__mro__(self._evaluator):
print(scope)
yield scope.names_dict
def is_class(self):