Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter
This commit is contained in:
parent
511e222e0a
commit
69598d4ccf
@ -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…
x
Reference in New Issue
Block a user