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 c6040c6 commit 3bd205fCopy full SHA for 3bd205f
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 new reference, and might set an exception.
+ This returns a borrowed 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