Skip to content
Merged
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
use 'ignored' for NOARGS method and 'args' for others
  • Loading branch information
picnixz committed Feb 6, 2025
commit fae1434972e0de09fca3b62868626fda89cdcc0d
4 changes: 2 additions & 2 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -16273,15 +16273,15 @@ ScandirIterator_iternext(PyObject *op)
#endif

static PyObject *
ScandirIterator_close(PyObject *op, PyObject *Py_UNUSED(args))
ScandirIterator_close(PyObject *op, PyObject *Py_UNUSED(ignored))
{
ScandirIterator *self = ScandirIterator_CAST(op);
ScandirIterator_closedir(self);
Py_RETURN_NONE;
}

static PyObject *
ScandirIterator_enter(PyObject *self, PyObject *Py_UNUSED(args))
ScandirIterator_enter(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return Py_NewRef(self);
}
Expand Down