Commit 5d01aa4f authored by Raymond Hettinger's avatar Raymond Hettinger

Bug #1079011: Incorrect error message (somewhat)

parent da264121
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment