diff Objects/complexobject.c @ 34195:46fa0e20cbcf 2.4

Bug #1079011: Incorrect error message (somewhat)
author Raymond Hettinger <python@rcn.com>
date Sun, 19 Dec 2004 20:47:25 +0000
parents 77d3642eb87b
children f4c2c61cb560
line wrap: on
line diff
--- a/Objects/complexobject.c	Sun Dec 19 20:33:08 2004 +0000
+++ b/Objects/complexobject.c	Sun Dec 19 20:47:25 2004 +0000
@@ -603,7 +603,7 @@
 
 	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;
 	}