Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mark 'args' as unused
  • Loading branch information
erlend-aasland committed May 11, 2023
commit e3e5442e543076f487407f95b46c88eb52c52874
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