mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove 'e.g.' from error message
This commit is contained in:
parent
8170200ce2
commit
0970dbab97
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue