forked from VimPlug/jedi
follow_call_path -> eval_call_path
This commit is contained in:
@@ -579,9 +579,9 @@ class Evaluator(object):
|
||||
s = call
|
||||
while not s.parent.isinstance(pr.IsScope):
|
||||
s = s.parent
|
||||
return self.follow_call_path(path, s.parent, s.start_pos)
|
||||
return self.eval_call_path(path, s.parent, s.start_pos)
|
||||
|
||||
def follow_call_path(self, path, scope, position):
|
||||
def eval_call_path(self, path, scope, position):
|
||||
"""
|
||||
Follows a path generated by `pr.StatementElement.generate_call_path()`.
|
||||
"""
|
||||
@@ -686,7 +686,7 @@ class Evaluator(object):
|
||||
pos = pos[0], pos[1] + 1
|
||||
|
||||
if call_path:
|
||||
scopes = self.follow_call_path(iter(call_path), scope, pos)
|
||||
scopes = self.eval_call_path(iter(call_path), scope, pos)
|
||||
search_global = False
|
||||
pos = None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user