From: Mark Dickinson Date: Tue, 7 Jul 2009 10:18:22 +0000 (+0000) Subject: Typo in error message X-Git-Tag: v2.7a1~820 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24766ba6afa96cec03751258ee288e456fb7d07e;p=thirdparty%2FPython%2Fcpython.git Typo in error message --- diff --git a/Modules/_struct.c b/Modules/_struct.c index 12fec2c2a6e3..01e24bb5a69b 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;