follow_paths -> follow_path, follow_path -> _follow_path

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

No files matched your search

+1 -1
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