Commit 09e60588 authored by Yury Selivanov's avatar Yury Selivanov

Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapper

parent d3a2a951
......@@ -144,6 +144,14 @@ class CoroWrapper:
__await__ = __iter__ # make compatible with 'await' expression
@property
def gi_yieldfrom(self):
return self.gen.gi_yieldfrom
@property
def cr_await(self):
return self.gen.cr_await
@property
def cr_running(self):
return self.gen.cr_running
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment