diff --git a/jedi/evaluate/context/asynchronous.py b/jedi/evaluate/context/asynchronous.py index 4a3ec8ef..51e59a48 100644 --- a/jedi/evaluate/context/asynchronous.py +++ b/jedi/evaluate/context/asynchronous.py @@ -35,4 +35,4 @@ class AsyncGenerator(AsyncBase): special_object_identifier = u'ASYNC_GENERATOR' def py__aiter__(self): - return self._func_execution_context.get_yield_lazy_contexts(is_async=True) + return self.func_execution_context.get_yield_lazy_contexts(is_async=True)