summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-07-07 10:21:03 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-07-07 10:21:03 (GMT)
commitd99620d3a03a13ce90c545aa5355b58faf22cb5c (patch)
tree6d1e5134da9b49308eddaeed47444a86973acbbb /Modules
parenta5b47cea768425d025bc29379da24d2ba2d379dc (diff)
downloadcpython-d99620d3a03a13ce90c545aa5355b58faf22cb5c.zip
cpython-d99620d3a03a13ce90c545aa5355b58faf22cb5c.tar.gz
cpython-d99620d3a03a13ce90c545aa5355b58faf22cb5c.tar.bz2
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 ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 27d596c..3e0ab31 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -493,7 +493,7 @@ np_ushort(char *p, PyObject *v, const formatdef *f)
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;