1
0
forked from VimPlug/jedi

fix rest of rename tests

This commit is contained in:
David Halter
2013-02-21 01:45:25 +04:30
parent 6b5295bc40
commit 9fa0b9f924

View File

@@ -744,7 +744,7 @@ def goto(stmt, call_path=None):
call = commands[0]
call_path = list(call.generate_call_path())
scope = stmt.parent
scope = stmt.get_parent_until(pr.IsScope)
pos = stmt.start_pos
call_path, search = call_path[:-1], call_path[-1]
pos = pos[0], pos[1] + 1