From: Fred Drake Date: Thu, 3 May 2001 16:05:46 +0000 (+0000) Subject: Remove an obsolete comment and a "return" before fallig off the end of a X-Git-Tag: v2.2a3~1918 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b03e59deb49750c7b095fdc6c4e62391e42b50d;p=thirdparty%2FPython%2Fcpython.git Remove an obsolete comment and a "return" before fallig off the end of a void function. --- diff --git a/Modules/_weakref.c b/Modules/_weakref.c index 71fe5a3ac4b8..c566c0a313cd 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; }