summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/classobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 18908f3..114f2d9 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -904,7 +904,7 @@ instance_traverse(PyInstanceObject *o, visitproc visit, void *arg)
if (err)
return err;
}
- return 1;
+ return 0;
}
static PyObject *getitemstr, *setitemstr, *delitemstr, *lenstr;
@@ -1741,7 +1741,7 @@ instancemethod_traverse(PyMethodObject *im, visitproc visit, void *arg)
if (err)
return err;
}
- return 1;
+ return 0;
}
PyTypeObject PyMethod_Type = {