Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dcb85b commit 9b03e59Copy full SHA for 9b03e59
1 file changed
Modules/_weakref.c
@@ -736,7 +736,6 @@ cleanup_helper(PyObject *object)
736
|| !PyType_SUPPORTS_WEAKREFS(object->ob_type)
737
|| object->ob_refcnt != 0) {
738
PyErr_BadInternalCall();
739
- /* not sure what we should return here */
740
return;
741
}
742
list = GET_WEAKREFS_LISTPTR(object);
@@ -792,7 +791,6 @@ cleanup_helper(PyObject *object)
792
791
Py_DECREF(tuple);
793
794
795
- return;
796
797
798
0 commit comments