From 5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 19 Dec 2004 20:45:20 +0000 Subject: [PATCH] Bug #1079011: Incorrect error message (somewhat) --- Objects/complexobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 45adbcb975d..81bcca87c65 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; }