1
0
forked from VimPlug/jedi

star imports now have their own class, which will be important for AttributeError detection

This commit is contained in:
Dave Halter
2014-05-10 16:53:27 +02:00
parent 358472b21f
commit 60971245d6
4 changed files with 30 additions and 18 deletions

View File

@@ -204,11 +204,11 @@ class Script(object):
scopes = list(self._prepare_goto(path, True))
except NotFoundError:
scopes = []
scope_generator = get_names_of_scope(self._evaluator,
self._parser.user_scope(),
self._pos)
scope_names_generator = get_names_of_scope(self._evaluator,
self._parser.user_scope(),
self._pos)
completions = []
for scope, name_list in scope_generator:
for scope, name_list in scope_names_generator:
for c in name_list:
completions.append((c, scope))
else: