From: Raymond Hettinger Date: Sun, 19 Dec 2004 20:47:25 +0000 (+0000) Subject: Bug #1079011: Incorrect error message (somewhat) X-Git-Tag: v2.4.1c1~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=738a70a8d933b87186cd556be3479e548e89bf9c;p=thirdparty%2FPython%2Fcpython.git Bug #1079011: Incorrect error message (somewhat) --- diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 45adbcb975d6..81bcca87c65e 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -603,7 +603,7 @@ complex_richcompare(PyObject *v, PyObject *w, int op) if (op != Py_EQ && op != Py_NE) { PyErr_SetString(PyExc_TypeError, - "cannot compare complex numbers using <, <=, >, >="); + "no ordering relation is defined for complex numbers"); return NULL; }