mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
fix confusing argument name in unicodeobject.c (GH-12653)
This commit is contained in:
parent
b00479d42a
commit
e6a0e804bf
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user