Skip to content

Commit 0f60651

Browse files
committed
post-merge
1 parent 578a8f8 commit 0f60651

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Python/codecs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,11 +1430,14 @@ static PyObject *backslashreplace_errors(PyObject *self, PyObject *exc)
14301430
return PyCodec_BackslashReplaceErrors(exc);
14311431
}
14321432

1433-
static PyObject *namereplace_errors(PyObject *self, PyObject *exc)
1433+
1434+
static inline PyObject *
1435+
namereplace_errors(PyObject *Py_UNUSED(self), PyObject *exc)
14341436
{
14351437
return PyCodec_NameReplaceErrors(exc);
14361438
}
14371439

1440+
14381441
static PyObject *surrogatepass_errors(PyObject *self, PyObject *exc)
14391442
{
14401443
return PyCodec_SurrogatePassErrors(exc);

0 commit comments

Comments
 (0)