make gi_running a boolean

This commit is contained in:
Benjamin Peterson 2012-03-07 18:17:03 -06:00
parent 9fc309083a
commit 657e9ebef5
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
};