forked from VimPlug/jedi
get_parent_until for ListComprehension
This commit is contained in:
@@ -1176,6 +1176,9 @@ class ListComprehension(Base):
|
|||||||
s.parent = self
|
s.parent = self
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
|
|
||||||
|
def get_parent_until(self, *args, **kwargs):
|
||||||
|
return Simple.get_parent_until(self, *args, **kwargs)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def start_pos(self):
|
def start_pos(self):
|
||||||
return self.stmt.start_pos
|
return self.stmt.start_pos
|
||||||
|
|||||||
Reference in New Issue
Block a user