mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Typo in error message
This commit is contained in:
parent
3310a10a68
commit
24766ba6af
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue