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

character for the "end" parameter
This commit is contained in:
Victor Stinner 2014-04-04 20:59:44 +02:00
parent 3253fb1cb3
commit d129eeb303
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}