diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-03 16:05:46 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-03 16:05:46 (GMT) |
commit | 9b03e59deb49750c7b095fdc6c4e62391e42b50d (patch) | |
tree | 66e11d7375de56fc0bad95d51306b884efd7ff1e | |
parent | 4dcb85b81756fb4b93c296831646c0d015ad38aa (diff) | |
download | cpython-9b03e59deb49750c7b095fdc6c4e62391e42b50d.zip cpython-9b03e59deb49750c7b095fdc6c4e62391e42b50d.tar.gz cpython-9b03e59deb49750c7b095fdc6c4e62391e42b50d.tar.bz2 |
Remove an obsolete comment and a "return" before fallig off the end of a
void function.
-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 71fe5a3..c566c0a 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; } |