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
1 changed files with 2 additions and 2 deletions

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