mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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[] = {
|
||||
{"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…
Add table
Add a link
Reference in a new issue