mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-24 17:28:36 +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)
|
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):
|
def __init__(self, evaluator, atom):
|
||||||
self._evaluator = evaluator
|
self._evaluator = evaluator
|
||||||
self._atom = atom
|
self._atom = atom
|
||||||
|
|||||||
Reference in New Issue
Block a user