Commit f69c3536 authored by Victor Stinner's avatar Victor Stinner

Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format

character for the "end" parameter
parent 63205493
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment