diff Objects/complexobject.c @ 30252:66654ac69622 legacy-trunk

Remove 'e.g.' from error message
author Raymond Hettinger <python@rcn.com>
date Sat, 30 Aug 2003 23:57:36 +0000
parents e3281b0df6a4
children 3b59fa5d25b1
line wrap: on
line diff
--- a/Objects/complexobject.c	Sat Aug 30 23:31:31 2003 +0000
+++ b/Objects/complexobject.c	Sat Aug 30 23:57:36 2003 +0000
@@ -610,7 +610,7 @@
 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 @@
 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 @@
 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;
 }