summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/complexobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 0d13edf..b904cc4 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -648,7 +648,7 @@ static PyObject *
complex_int(PyObject *v)
{
PyErr_SetString(PyExc_TypeError,
- "can't convert complex to int; use int(abs(z))");
+ "can't convert complex to int");
return NULL;
}
@@ -656,7 +656,7 @@ static PyObject *
complex_float(PyObject *v)
{
PyErr_SetString(PyExc_TypeError,
- "can't convert complex to float; use abs(z)");
+ "can't convert complex to float");
return NULL;
}