1
0
forked from VimPlug/jedi

type of NamePart in definition should work.

This commit is contained in:
Dave Halter
2014-04-18 01:31:07 +02:00
parent fe98940624
commit b643325889
6 changed files with 15 additions and 8 deletions

View File

@@ -1395,6 +1395,9 @@ class NamePart(object):
def __hash__(self):
return hash(self.string)
def get_parent_until(self, *args, **kwargs):
return self.parent.get_parent_until(*args, **kwargs)
@property
def start_pos(self):
offset = self.parent._sub_module.line_offset