From: Max Bernstein Date: Tue, 2 Apr 2019 08:16:22 +0000 (-0700) Subject: fix confusing argument name in unicodeobject.c (GH-12653) X-Git-Tag: v3.8.0a4~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a0e804bfad4a5ef03c04d0e3d9a94472966f9a;p=python fix confusing argument name in unicodeobject.c (GH-12653) --- diff --git a/Objects/exceptions.c b/Objects/exceptions.c index ad2a54a2b6..b40ecb78d4 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -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); }