1
0
forked from VimPlug/jedi

follow_paths -> follow_path, follow_path -> _follow_path

This commit is contained in:
Dave Halter
2013-12-28 15:00:04 +01:00
parent 46dd0a9abe
commit 75a1b6f8cb
5 changed files with 23 additions and 27 deletions

View File

@@ -456,7 +456,7 @@ class Execution(Executable):
if len(arr_name.var_args) != 1:
debug.warning('jedi getattr is too simple')
key = arr_name.var_args[0]
stmts += self._evaluator.follow_path(iter([key]), obj, base)
stmts += self._evaluator.follow_path(iter([key]), [obj], base)
return stmts
elif func_name == 'type':
# otherwise it would be a metaclass