mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses
This commit is contained in:
@@ -32,9 +32,9 @@ class TestBase(unittest.TestCase):
|
||||
script = self.get_script(src, pos, path)
|
||||
return script.completions()
|
||||
|
||||
def goto(self, src, pos=None):
|
||||
def goto_assignments(self, src, pos=None):
|
||||
script = self.get_script(src, pos)
|
||||
return script.goto()
|
||||
return script.goto_assignments()
|
||||
|
||||
def function_definition(self, src, pos=None):
|
||||
script = self.get_script(src, pos)
|
||||
|
||||
Reference in New Issue
Block a user