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.
2 parents 0b54103 + 0d3d149 commit c6040c6Copy full SHA for c6040c6
Objects/typeobject.c
@@ -5978,7 +5978,7 @@ PyObject_GetItemData(PyObject *obj)
5978
}
5979
5980
/* Internal API to look for a name through the MRO, bypassing the method cache.
5981
- This returns a borrowed reference, and might set an exception.
+ This returns a new reference, and might set an exception.
5982
'error' is set to: -1: error with exception; 1: error without exception; 0: ok */
5983
static PyObject *
5984
find_name_in_mro(PyTypeObject *type, PyObject *name, int *error)
0 commit comments