1
0
forked from VimPlug/jedi

Directly importing FunctionContext.

This commit is contained in:
Dave Halter
2017-09-30 18:11:15 +02:00
parent 39b24ff2df
commit 604ca65a9b
6 changed files with 9 additions and 12 deletions

View File

@@ -242,7 +242,7 @@ class ContextSet(BaseContextSet):
return ContextSet.from_iterable(c.py__class__() for c in self._set)
def iterate(self, contextualized_node=None):
from jedi.evaluate.context.lazy import get_merged_lazy_context
from jedi.evaluate.lazy_context import get_merged_lazy_context
type_iters = [c.iterate(contextualized_node) for c in self._set]
for lazy_contexts in zip_longest(*type_iters):
yield get_merged_lazy_context(