summaryrefslogtreecommitdiffstats
path: root/Lib/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 38b453a..8c5fc65 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -188,9 +188,13 @@ class _GeneratorWrapper:
@property
def gi_running(self):
return self.__wrapped.gi_running
+ @property
+ def gi_yieldfrom(self):
+ return self.__wrapped.gi_yieldfrom
cr_code = gi_code
cr_frame = gi_frame
cr_running = gi_running
+ cr_await = gi_yieldfrom
def __next__(self):
return next(self.__wrapped)
def __iter__(self):