formatting / pep8

This commit is contained in:
David Halter
2012-04-25 00:07:05 +02:00
parent c78d05fa12
commit a1cf284297
2 changed files with 14 additions and 4 deletions

View File

@@ -5,7 +5,8 @@ follow_statement -> follow_call -> follow_paths -> follow_path
`get_names_for_scope` and `get_scopes_for_name` are search functions
TODO include super classes
TOOD nonlocal statement
TODO nonlocal statement
TODO doc
"""
from _compatibility import next
@@ -523,6 +524,9 @@ def follow_import(_import):
def remove_star_imports(scope):
"""
TODO doc
"""
modules = strip_imports(i for i in scope.get_imports() if i.star)
new = []
for m in modules: