mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
make gi_running a boolean
This commit is contained in:
parent
9fc309083a
commit
657e9ebef5
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ static PyGetSetDef gen_getsetlist[] = {
|
||||||
|
|
||||||
static PyMemberDef gen_memberlist[] = {
|
static PyMemberDef gen_memberlist[] = {
|
||||||
{"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY},
|
{"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY},
|
||||||
{"gi_running", T_INT, offsetof(PyGenObject, gi_running), READONLY},
|
{"gi_running", T_BOOL, offsetof(PyGenObject, gi_running), READONLY},
|
||||||
{"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY},
|
{"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY},
|
||||||
{NULL} /* Sentinel */
|
{NULL} /* Sentinel */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue