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 better semantic namgin
  • Loading branch information
picnixz committed Feb 22, 2025
commit fe5a983e9ef0d6077889d7732fdabb706693a905
4 changes: 2 additions & 2 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -16334,15 +16334,15 @@ ScandirIterator_iternext(PyObject *op)
#endif

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

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