mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-12 02:41:41 +08:00
Make goto_definitions a lot simpler.
This commit is contained in:
@@ -560,7 +560,7 @@ class BaseNode(Base):
|
||||
except AttributeError:
|
||||
return c
|
||||
|
||||
raise ValueError("Position does not exist.")
|
||||
return None
|
||||
|
||||
@Python3Method
|
||||
def get_statement_for_position(self, pos):
|
||||
|
||||
Reference in New Issue
Block a user