diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 19:40:23 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 19:40:23 +0300 |
commit | 9927bb7a2e04addea58d3df36ca4ea47113b0192 (patch) | |
tree | 160059a15a0abf9fd1dcd7a445b25bac8dec3be3 /Modules/_struct.c | |
parent | 7d3957d92d416e3f169be669c6ea2f8f8dbd5565 (diff) | |
download | cpython-9927bb7a2e04addea58d3df36ca4ea47113b0192.tar.gz |
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r-- | Modules/_struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 28486140f1..a248753766 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -1631,7 +1631,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; } } |