[Python-checkins] r73881 - in python/branches/release26-maint: Modules/_struct.c
mark.dickinson
python-checkins at python.org
Tue Jul 7 12:19:19 CEST 2009
Author: mark.dickinson
Date: Tue Jul 7 12:19:18 2009
New Revision: 73881
Log:
Merged revisions 73880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73880 | mark.dickinson | 2009-07-07 11:18:22 +0100 (Tue, 07 Jul 2009) | 1 line
Typo in error message
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Modules/_struct.c
Modified: python/branches/release26-maint/Modules/_struct.c
==============================================================================
--- python/branches/release26-maint/Modules/_struct.c (original)
+++ python/branches/release26-maint/Modules/_struct.c Tue Jul 7 12:19:18 2009
@@ -646,7 +646,7 @@
return -1;
if (x < 0 || x > USHRT_MAX){
PyErr_SetString(StructError,
- "short format requires 0 <= number <= " STRINGIFY(USHRT_MAX));
+ "ushort format requires 0 <= number <= " STRINGIFY(USHRT_MAX));
return -1;
}
y = (unsigned short)x;
More information about the Python-checkins
mailing list