]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove an obsolete comment and a "return" before fallig off the end of a
authorFred Drake <fdrake@acm.org>
Thu, 3 May 2001 16:05:46 +0000 (16:05 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 3 May 2001 16:05:46 +0000 (16:05 +0000)
void function.

Modules/_weakref.c

index 71fe5a3ac4b8506de1ab562c3f779346a2b04974..c566c0a313cd6a78b665889b45481f97245f734e 100644 (file)
@@ -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;
 }