diff Modules/_struct.c @ 85419:0872257752c2

Issue #18783: Removed existing mentions of Python long type in docstrings, error messages and comments.
author Serhiy Storchaka <storchaka@gmail.com>
date Tue, 27 Aug 2013 20:17:03 +0300
parents 6707637f68ca 4d62a62ba44d
children 37e4d14a8bad
line wrap: on
line diff
--- a/Modules/_struct.c	Mon Aug 26 22:28:21 2013 +0200
+++ b/Modules/_struct.c	Tue Aug 27 20:17:03 2013 +0300
@@ -1779,7 +1779,7 @@
                 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;
                 }
             }