[Python-checkins] python/dist/src/Objects complexobject.c, 2.72,
2.73
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Dec 19 21:45:24 CET 2004
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13705
Modified Files:
complexobject.c
Log Message:
Bug #1079011: Incorrect error message (somewhat)
Index: complexobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/complexobject.c,v
retrieving revision 2.72
retrieving revision 2.73
diff -u -d -r2.72 -r2.73
--- complexobject.c 22 Aug 2004 21:09:15 -0000 2.72
+++ complexobject.c 19 Dec 2004 20:45:20 -0000 2.73
@@ -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;
}
More information about the Python-checkins
mailing list