mirror of https://github.com/python/cpython
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();
|
||||
return NULL;
|
||||
}
|
||||
if (Py_EnterRecursiveCall(" in cmp"))
|
||||
if (Py_EnterRecursiveCall(" in comparison"))
|
||||
return NULL;
|
||||
res = do_richcompare(v, w, op);
|
||||
Py_LeaveRecursiveCall();
|
||||
|
|
Loading…
Reference in New Issue