summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 45adbcb..81bcca8 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;
}