1
0
forked from VimPlug/jedi

little fixes for the dynamic module

This commit is contained in:
David Halter
2013-02-08 12:49:36 +01:00
parent 94126edda8
commit 39f43c52fe
3 changed files with 7 additions and 7 deletions

View File

@@ -661,7 +661,7 @@ def follow_call_path(path, scope, position):
debug.warning('unknown type:', current.type, current)
scopes = []
# Make instances of those number/string objects.
scopes = [er.Instance(s, [current.name]) for s in scopes]
scopes = [er.Instance(s, (current.name,)) for s in scopes]
result = imports.strip_imports(scopes)
return follow_paths(path, result, scope, position=position)