mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-17 01:15:02 +08:00
fix rest of rename tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user