Skip to content

Commit 24bb030

Browse files
committed
fixup
1 parent 4fe70a0 commit 24bb030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/codecs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ PyObject *PyCodec_ReplaceErrors(PyObject *exc)
705705
Py_ssize_t start, end;
706706

707707
if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) {
708-
if (_PyUnicodeError_GetParams(exc, NULL, NULL, &start, &end, true) < 0) {
708+
if (_PyUnicodeError_GetParams(exc, NULL, NULL, &start, &end, false) < 0) {
709709
return NULL;
710710
}
711711
if (end <= start) {

0 commit comments

Comments
 (0)