fix confusing argument name in unicodeobject.c (GH-12653)

This commit is contained in:
Max Bernstein 2019-04-02 01:16:22 -07:00 committed by Miss Islington (bot)
parent b00479d42a
commit e6a0e804bf

View File

@ -1765,9 +1765,9 @@ PyUnicodeDecodeError_GetEnd(PyObject *exc, Py_ssize_t *end)
int
PyUnicodeTranslateError_GetEnd(PyObject *exc, Py_ssize_t *start)
PyUnicodeTranslateError_GetEnd(PyObject *exc, Py_ssize_t *end)
{
return PyUnicodeEncodeError_GetEnd(exc, start);
return PyUnicodeEncodeError_GetEnd(exc, end);
}