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
Make the trackfd argument keyword-only
  • Loading branch information
encukou committed Jan 9, 2024
commit 42302bcd5fbbdb8f8f95c29aee207002e9c7206c
2 changes: 1 addition & 1 deletion Modules/mmapmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
"access", "offset", "trackfd", NULL};

if (!PyArg_ParseTupleAndKeywords(args, kwdict,
"in|iii" _Py_PARSE_OFF_T "p", keywords,
"in|iii" _Py_PARSE_OFF_T "$p", keywords,
&fd, &map_size, &flags, &prot,
&access, &offset, &trackfd)) {
return NULL;
Expand Down