From b2aa8b80244ca7ab59b0be957f43e337d7c11ee5 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 18 Feb 2013 20:52:07 +0430 Subject: [PATCH] get_parent_until for ListComprehension --- jedi/parsing_representation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jedi/parsing_representation.py b/jedi/parsing_representation.py index 67532b32..cc8924bb 100644 --- a/jedi/parsing_representation.py +++ b/jedi/parsing_representation.py @@ -1176,6 +1176,9 @@ class ListComprehension(Base): s.parent = self self.parent = parent + def get_parent_until(self, *args, **kwargs): + return Simple.get_parent_until(self, *args, **kwargs) + @property def start_pos(self): return self.stmt.start_pos