Make goto_definitions a lot simpler.

This commit is contained in:
Dave Halter
2016-06-11 23:13:04 +02:00
parent 9930ab5056
commit c82691a12b
12 changed files with 107 additions and 80 deletions

View File

@@ -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):