diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-07-07 10:18:22 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-07-07 10:18:22 (GMT) |
commit | 24766ba6afa96cec03751258ee288e456fb7d07e (patch) | |
tree | 6f6013b89dccec5a3d61d9ef21a2378e3b1d4e95 /Modules | |
parent | 3310a10a68228c4a84a2ed517af6b0b81e7f0b15 (diff) | |
download | cpython-24766ba6afa96cec03751258ee288e456fb7d07e.zip cpython-24766ba6afa96cec03751258ee288e456fb7d07e.tar.gz cpython-24766ba6afa96cec03751258ee288e456fb7d07e.tar.bz2 |
Typo in error message
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 12fec2c..01e24bb 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -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; |