gh-132527: Added missing w typecode to array() error message (#132529)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
This commit is contained in:
Christian Veenhuis
2025-04-25 15:31:05 +02:00
committed by GitHub
parent eb2e430b88
commit 52454c5d59
2 changed files with 2 additions and 1 deletions

View File

@@ -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, w, h, H, i, I, l, L, q, Q, f or d)");
return NULL;
}