mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
based upon a suggestion in c.l.py, this slight expansion of the
OverflowError message seems reasonable.
This commit is contained in:
parent
b9a96282f1
commit
bafedecc06
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ PyLong_AsLong(PyObject *vv)
|
|||
|
||||
overflow:
|
||||
PyErr_SetString(PyExc_OverflowError,
|
||||
"long int too large to convert");
|
||||
"long int too large to convert to int");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue