diff options
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 7f76d6e..5e987ff 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -1289,8 +1289,6 @@ instance_coerce(PyObject **pv, PyObject **pw) if (coercefunc == NULL) { /* No __coerce__ method */ PyErr_Clear(); - Py_INCREF(v); - Py_INCREF(w); return 1; } /* Has __coerce__ method: call it */ |