mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-30 21:15:23 +08:00
Implement get_parent_until for Comprehension.
This commit is contained in:
@@ -107,6 +107,9 @@ class Comprehension(IterableWrapper):
|
||||
}
|
||||
return mapping[atom.children[0]](evaluator, atom)
|
||||
|
||||
def get_parent_until(self, *args, **kwargs):
|
||||
return self._atom.get_parent_until(*args, **kwargs)
|
||||
|
||||
def __init__(self, evaluator, atom):
|
||||
self._evaluator = evaluator
|
||||
self._atom = atom
|
||||
|
||||
Reference in New Issue
Block a user