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
|
@ -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…
Reference in New Issue