mirror of https://github.com/python/cpython
make gi_running a boolean
This commit is contained in:
parent
9fc309083a
commit
657e9ebef5
|
@ -542,7 +542,7 @@ static PyGetSetDef gen_getsetlist[] = {
|
|||
|
||||
static PyMemberDef gen_memberlist[] = {
|
||||
{"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},
|
||||
{NULL} /* Sentinel */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue