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
Update Modules/_operator.c
Co-authored-by: Sam Gross <colesbury@gmail.com>
  • Loading branch information
eendebakpt and colesbury authored Dec 6, 2024
commit 00ab65414a908846fa6cd71f1c95071d26a38f4c
2 changes: 1 addition & 1 deletion Modules/_operator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ static int _methodcaller_initialize_vectorcall(methodcallerobject* mc)
// the objects in mc->vectorcall_args have references borrowed
// from mc->args and the keys from mc->kwds
memcpy(mc->vectorcall_args, _PyTuple_ITEMS(args),
nargs * sizeof(PyObject*)); // borrowed references
nargs * sizeof(PyObject *)); // borrowed references
if (kwds && PyDict_Size(kwds)) {
const Py_ssize_t nkwds = PyDict_Size(kwds);
mc->vectorcall_kwnames = PyTuple_New(nkwds);
Expand Down