Skip to content

Commit cefa7d8

Browse files
committed
reorder declarations
1 parent 85d658f commit cefa7d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/_functoolsmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ partial_vectorcall(PyObject *self, PyObject *const *args,
372372
return NULL;
373373
}
374374

375-
Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
376-
Py_ssize_t nargskw = nargs + nkwds;
375+
PyObject **pto_args = _PyTuple_ITEMS(pto->args);
377376
Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
378377
Py_ssize_t pto_nkwds = PyDict_GET_SIZE(pto->kw);
379-
PyObject **pto_args = _PyTuple_ITEMS(pto->args);
378+
Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
379+
Py_ssize_t nargskw = nargs + nkwds;
380380

381381
/* Special cases */
382382
if (!pto_nkwds) {

0 commit comments

Comments
 (0)