From 9b03e59deb49750c7b095fdc6c4e62391e42b50d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 3 May 2001 16:05:46 +0000 Subject: [PATCH] Remove an obsolete comment and a "return" before fallig off the end of a void function. --- Modules/_weakref.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Modules/_weakref.c b/Modules/_weakref.c index 71fe5a3ac4b..c566c0a313c 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; }