diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:45:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:45:20 (GMT) |
commit | 5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77 (patch) | |
tree | 83a56155fb480956d5a1708ab03fcc6e56dce081 /Objects | |
parent | da264121f4a529504dd931bad2b0af351df67d39 (diff) | |
download | cpython-5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77.zip cpython-5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77.tar.gz cpython-5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77.tar.bz2 |
Bug #1079011: Incorrect error message (somewhat)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/complexobject.c | 2 |
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; } |