Skip to content

Commit

Permalink
reorder declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
dg-pb committed Jan 10, 2025
1 parent 85d658f commit cefa7d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modules/_functoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,11 @@ partial_vectorcall(PyObject *self, PyObject *const *args,
return NULL;
}

Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
Py_ssize_t nargskw = nargs + nkwds;
PyObject **pto_args = _PyTuple_ITEMS(pto->args);
Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
Py_ssize_t pto_nkwds = PyDict_GET_SIZE(pto->kw);
PyObject **pto_args = _PyTuple_ITEMS(pto->args);
Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
Py_ssize_t nargskw = nargs + nkwds;

/* Special cases */
if (!pto_nkwds) {
Expand Down

0 comments on commit cefa7d8

Please sign in to comment.