Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter
This commit is contained in:
parent
3253fb1cb3
commit
d129eeb303
|
@ -2124,7 +2124,7 @@ _PyUnicodeTranslateError_Create(
|
|||
PyObject *object,
|
||||
Py_ssize_t start, Py_ssize_t end, const char *reason)
|
||||
{
|
||||
return PyObject_CallFunction(PyExc_UnicodeTranslateError, "Ons",
|
||||
return PyObject_CallFunction(PyExc_UnicodeTranslateError, "Onns",
|
||||
object, start, end, reason);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue