Skip to content

Commit

Permalink
Mark 'args' as unused
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed May 11, 2023
1 parent 5cbffed commit e3e5442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_io/iobase.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ iobase_check_writable(PyObject *self, PyObject *args)
}

PyObject *
_PyIOBase_cannot_pickle(PyObject *self, PyObject *args)
_PyIOBase_cannot_pickle(PyObject *self, PyObject *Py_UNUSED(args))
{
return PyErr_Format(PyExc_TypeError, "cannot pickle '%.100s' instances",
_PyType_Name(Py_TYPE(self)));
Expand Down

0 comments on commit e3e5442

Please sign in to comment.