Remove an obsolete comment and a "return" before fallig off the end of a

void function.
This commit is contained in:
Fred Drake 2001-05-03 16:05:46 +00:00
parent 4dcb85b817
commit 9b03e59deb
1 changed files with 0 additions and 2 deletions

View File

@ -736,7 +736,6 @@ cleanup_helper(PyObject *object)
|| !PyType_SUPPORTS_WEAKREFS(object->ob_type) || !PyType_SUPPORTS_WEAKREFS(object->ob_type)
|| object->ob_refcnt != 0) { || object->ob_refcnt != 0) {
PyErr_BadInternalCall(); PyErr_BadInternalCall();
/* not sure what we should return here */
return; return;
} }
list = GET_WEAKREFS_LISTPTR(object); list = GET_WEAKREFS_LISTPTR(object);
@ -792,7 +791,6 @@ cleanup_helper(PyObject *object)
Py_DECREF(tuple); Py_DECREF(tuple);
} }
} }
return;
} }