1
0
forked from VimPlug/jedi

Fix issues with yield.

This commit is contained in:
Dave Halter
2017-09-01 18:38:19 +02:00
parent e2d53f51b0
commit c47f5ca68c
4 changed files with 34 additions and 2 deletions

View File

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