diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:47:25 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-19 20:47:25 (GMT) |
commit | 738a70a8d933b87186cd556be3479e548e89bf9c (patch) | |
tree | 55e7d999464812e1e852d6858fd07dd29d001774 | |
parent | f437e092885858c4592f5bbfc46fb6dd7400ac70 (diff) | |
download | cpython-738a70a8d933b87186cd556be3479e548e89bf9c.zip cpython-738a70a8d933b87186cd556be3479e548e89bf9c.tar.gz cpython-738a70a8d933b87186cd556be3479e548e89bf9c.tar.bz2 |
Bug #1079011: Incorrect error message (somewhat)
-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; } |