mirror of https://github.com/python/cpython
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 ........
This commit is contained in:
parent
a1a0adb03c
commit
7ad3f9218c
|
@ -646,7 +646,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;
|
||||
|
|
Loading…
Reference in New Issue