mirror of https://github.com/python/cpython
Remove an obsolete comment and a "return" before fallig off the end of a
void function.
This commit is contained in:
parent
4dcb85b817
commit
9b03e59deb
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue