mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 01:38:36 +08:00
fix rest of rename tests
This commit is contained in:
+1
-1
@@ -744,7 +744,7 @@ def goto(stmt, call_path=None):
|
|||||||
call = commands[0]
|
call = commands[0]
|
||||||
call_path = list(call.generate_call_path())
|
call_path = list(call.generate_call_path())
|
||||||
|
|
||||||
scope = stmt.parent
|
scope = stmt.get_parent_until(pr.IsScope)
|
||||||
pos = stmt.start_pos
|
pos = stmt.start_pos
|
||||||
call_path, search = call_path[:-1], call_path[-1]
|
call_path, search = call_path[:-1], call_path[-1]
|
||||||
pos = pos[0], pos[1] + 1
|
pos = pos[0], pos[1] + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user