[Python-checkins] r73880 - python/trunk/Modules/_struct.c

mark.dickinson python-checkins at python.org
Tue Jul 7 12:18:22 CEST 2009


Author: mark.dickinson
Date: Tue Jul  7 12:18:22 2009
New Revision: 73880

Log:
Typo in error message

Modified:
   python/trunk/Modules/_struct.c

Modified: python/trunk/Modules/_struct.c
==============================================================================
--- python/trunk/Modules/_struct.c	(original)
+++ python/trunk/Modules/_struct.c	Tue Jul  7 12:18:22 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