1
0
forked from VimPlug/jedi

Api classes test fixes.

This commit is contained in:
Dave Halter
2016-12-07 01:00:03 +01:00
parent c6248ae169
commit 97ccb74ebb
5 changed files with 24 additions and 21 deletions

View File

@@ -166,7 +166,7 @@ class Generator(GeneratorMixin, context.Context):
"""Handling of `yield` functions."""
def __init__(self, evaluator, func_execution_context):
super(Generator, self).__init__(evaluator)
super(Generator, self).__init__(evaluator, parent_context=evaluator.BUILTINS)
self._func_execution_context = func_execution_context
def py__iter__(self):