diff options
Diffstat (limited to 'Modules/_weakref.c')
-rw-r--r-- | Modules/_weakref.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_weakref.c b/Modules/_weakref.c index 71fe5a3ac4..c566c0a313 100644 --- a/Modules/_weakref.c +++ b/Modules/_weakref.c @@ -736,7 +736,6 @@ cleanup_helper(PyObject *object) || !PyType_SUPPORTS_WEAKREFS(object->ob_type) || object->ob_refcnt != 0) { PyErr_BadInternalCall(); - /* not sure what we should return here */ return; } list = GET_WEAKREFS_LISTPTR(object); @@ -792,7 +791,6 @@ cleanup_helper(PyObject *object) Py_DECREF(tuple); } } - return; } |