diff options
author | Raymond Hettinger <python@rcn.com> | 2003-08-30 23:57:36 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-08-30 23:57:36 (GMT) |
commit | 0970dbab97d82e23ba6a39ef21fe5c02f22bbc48 (patch) | |
tree | 5396580409613f90caecad25601d8c501c63bae8 /Objects | |
parent | 8170200ce2b437fab4e05d908cb30ea63cb557c9 (diff) | |
download | cpython-0970dbab97d82e23ba6a39ef21fe5c02f22bbc48.zip cpython-0970dbab97d82e23ba6a39ef21fe5c02f22bbc48.tar.gz cpython-0970dbab97d82e23ba6a39ef21fe5c02f22bbc48.tar.bz2 |
Remove 'e.g.' from error message
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/complexobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index d50a6eb2..96fa33d 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -610,7 +610,7 @@ static PyObject * complex_int(PyObject *v) { PyErr_SetString(PyExc_TypeError, - "can't convert complex to int; use e.g. int(abs(z))"); + "can't convert complex to int; use int(abs(z))"); return NULL; } @@ -618,7 +618,7 @@ static PyObject * complex_long(PyObject *v) { PyErr_SetString(PyExc_TypeError, - "can't convert complex to long; use e.g. long(abs(z))"); + "can't convert complex to long; use long(abs(z))"); return NULL; } @@ -626,7 +626,7 @@ static PyObject * complex_float(PyObject *v) { PyErr_SetString(PyExc_TypeError, - "can't convert complex to float; use e.g. abs(z)"); + "can't convert complex to float; use abs(z)"); return NULL; } |