From e6a0e804bfad4a5ef03c04d0e3d9a94472966f9a Mon Sep 17 00:00:00 2001 From: Max Bernstein Date: Tue, 2 Apr 2019 01:16:22 -0700 Subject: [PATCH] fix confusing argument name in unicodeobject.c (GH-12653) --- Objects/exceptions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/exceptions.c b/Objects/exceptions.c index ad2a54a2b6b..b40ecb78d45 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); }