Bug #1079011: Incorrect error message (somewhat)

This commit is contained in:
Raymond Hettinger 2004-12-19 20:45:20 +00:00
parent da264121f4
commit 5d01aa4f6a

View file

@ -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;
}