mirror of https://github.com/python/cpython
Merge 3.4 (Issue #24450)
This commit is contained in:
commit
27be130ec7
|
@ -144,6 +144,14 @@ class CoroWrapper:
|
||||||
|
|
||||||
__await__ = __iter__ # make compatible with 'await' expression
|
__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
|
@property
|
||||||
def cr_running(self):
|
def cr_running(self):
|
||||||
return self.gen.cr_running
|
return self.gen.cr_running
|
||||||
|
|
Loading…
Reference in New Issue