diff Modules/_struct.c @ 85418:4d62a62ba44d 3.3

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 19:40:23 +0300
parents c08bcf5302ec
children 0872257752c2
line wrap: on
line diff
--- a/Modules/_struct.c	Mon Aug 26 14:00:39 2013 +0300
+++ b/Modules/_struct.c	Tue Aug 27 19:40:23 2013 +0300
@@ -1631,7 +1631,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;
             }
         }