Typo in error message

This commit is contained in:
Mark Dickinson 2009-07-07 10:18:22 +00:00
parent 3310a10a68
commit 24766ba6af
1 changed files with 1 additions and 1 deletions

View File

@ -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;