1
0
forked from VimPlug/jedi

Make some things clearer about lazy contexts

This commit is contained in:
Dave Halter
2018-01-31 23:52:56 +01:00
parent ebe8123b4c
commit 24b4e725b5
3 changed files with 6 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ class Generator(GeneratorMixin, Context):
self._func_execution_context = func_execution_context
def py__iter__(self):
return self._func_execution_context.get_yield_values()
return self._func_execution_context.get_yield_lazy_contexts()
def __repr__(self):
return "<%s of %s>" % (type(self).__name__, self._func_execution_context)