Issue #7430: Remove lingering reference to cmp in recursion error message.
This commit is contained in:
parent
ba31105d48
commit
6711493e40
@ -603,7 +603,7 @@ PyObject_RichCompare(PyObject *v, PyObject *w, int op)
|
|||||||
PyErr_BadInternalCall();
|
PyErr_BadInternalCall();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (Py_EnterRecursiveCall(" in cmp"))
|
if (Py_EnterRecursiveCall(" in comparison"))
|
||||||
return NULL;
|
return NULL;
|
||||||
res = do_richcompare(v, w, op);
|
res = do_richcompare(v, w, op);
|
||||||
Py_LeaveRecursiveCall();
|
Py_LeaveRecursiveCall();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user