Kaydet (Commit) 9b03e59d authored tarafından Fred Drake's avatar Fred Drake

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

void function.
üst 4dcb85b8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment