mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-11 02:19:11 +08:00
Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change.
This commit is contained in:
1 parent
2e7e2f0a29
commit
ece9fdf4ae
3 files changed
+12
-11
No files matched your search
@@ -43,6 +43,9 @@ class KeywordName(object):
|
||||
self.names = [name]
|
||||
self.start_pos = start_pos
|
||||
|
||||
def get_definition(self):
|
||||
return self.parent
|
||||
|
||||
@property
|
||||
def end_pos(self):
|
||||
return self.start_pos[0], self.start_pos[1] + len(self.name)
|
||||
|
||||
Reference in new issue
Block a user