summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-03 04:42:01 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-03 04:42:01 (GMT)
commit1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605 (patch)
tree92d2fbfe4360164a6528bfde2377dbdaaa009ce8
parentb166d58b9ea00ef4147efd5db99fd340228139c7 (diff)
parent27be130ec71fa95e2496bd9e42505aa6c7457682 (diff)
downloadcpython-1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605.zip
cpython-1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605.tar.gz
cpython-1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605.tar.bz2
Merge 3.5 (Issue #24450)
-rw-r--r--Lib/asyncio/coroutines.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py
index a70eb1d..15475f2 100644
--- a/Lib/asyncio/coroutines.py
+++ b/Lib/asyncio/coroutines.py
@@ -145,6 +145,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