mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter
This commit is contained in:
parent
511e222e0a
commit
69598d4ccf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue