]> granicus.if.org Git - python/commitdiff
Issue #7430: Remove lingering reference to cmp in recursion error message.
authorMark Dickinson <dickinsm@gmail.com>
Fri, 4 Dec 2009 10:06:06 +0000 (10:06 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 4 Dec 2009 10:06:06 +0000 (10:06 +0000)
Objects/object.c

index 002acd04be68a8109e4073c5b27e78a36f437e5e..b0a54719a0a2a1e4ad22bc397f11e314f7cf9a67 100644 (file)
@@ -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();