Issue #18783: Removed existing mentions of Python long type in docstrings,

error messages and comments.
This commit is contained in:
Serhiy Storchaka 2013-08-27 20:17:03 +03:00
commit 46e1ce214b
40 changed files with 140 additions and 150 deletions

View file

@ -1779,7 +1779,7 @@ s_pack_internal(PyStructObject *soself, PyObject *args, int offset, char* buf)
if (e->pack(res, v, e) < 0) {
if (PyLong_Check(v) && PyErr_ExceptionMatches(PyExc_OverflowError))
PyErr_SetString(StructError,
"long too large to convert to int");
"int too large to convert");
return -1;
}
}