summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/genobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/genobject.h b/Include/genobject.h
index 3b3b68b..96f8dcc 100644
--- a/Include/genobject.h
+++ b/Include/genobject.h
@@ -79,6 +79,8 @@ typedef struct {
/* Flag is set to 1 when aclose() is called for the first time, or
when a StopAsyncIteration exception is raised. */
int ag_closed;
+
+ int ag_running_async;
} PyAsyncGenObject;
PyAPI_DATA(PyTypeObject) PyAsyncGen_Type;