Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bafedec

Browse files
author
Skip Montanaro
committed
based upon a suggestion in c.l.py, this slight expansion of the
OverflowError message seems reasonable.
1 parent b9a9628 commit bafedec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/longobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ PyLong_AsLong(PyObject *vv)
211211

212212
overflow:
213213
PyErr_SetString(PyExc_OverflowError,
214-
"long int too large to convert");
214+
"long int too large to convert to int");
215215
return -1;
216216
}
217217

0 commit comments

Comments
 (0)