mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue