improve docstrings of evaluate

This commit is contained in:
David Halter committed 2013-02-05 18:21:38 +01:00
1 parent a14471ad48
commit 650b96dbda
3 files changed
+14 -12

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ class ImportPath(pr.Base):
and scope.path.endswith('__init__.py'):
pkg_path = os.path.dirname(scope.path)
names += self.get_module_names([pkg_path])
for s, scope_names in evaluate.get_names_for_scope(scope,
for s, scope_names in evaluate.get_names_of_scope(scope,
include_builtin=False):
for n in scope_names:
if self.import_stmt.from_ns is None \