diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 16f757feca3342..84c36fa1f3f9c0 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2873,7 +2873,7 @@ array_new(PyTypeObject *type, PyObject *args, PyObject *kwds) } } PyErr_SetString(PyExc_ValueError, - "bad typecode (must be b, B, u, h, H, i, I, l, L, q, Q, f or d)"); + "bad typecode (must be b, B, u, h, H, i, I, l, L, q, Q, f, d or w)"); return NULL; }