mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
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:
parent
eb2e430b88
commit
52454c5d59
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue