1
0
forked from VimPlug/jedi

document a goto part of the API

This commit is contained in:
Dave Halter
2014-03-11 16:08:20 +01:00
parent 5764e760d2
commit 18e5a3ad4f

View File

@@ -343,8 +343,10 @@ class Evaluator(object):
scope = stmt.get_parent_until(pr.IsScope)
pos = stmt.start_pos
call_path, search = call_path[:-1], call_path[-1]
# Need this to return the params if you're actually doing a goto on the
# param.
pos = pos[0], pos[1] + 1
call_path, search = call_path[:-1], call_path[-1]
if call_path:
scopes = self.eval_call_path(iter(call_path), scope, pos)