We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ee972 commit b76ffeeCopy full SHA for b76ffee
1 file changed
Modules/_functoolsmodule.c
@@ -703,6 +703,7 @@ partial_setstate(partialobject *pto, PyObject *state)
703
}
704
705
/* Count placeholders */
706
+ Py_ssize_t nargs = PyTuple_GET_SIZE(fnargs);
707
Py_ssize_t phcount = 0;
708
for (Py_ssize_t i = 0; i < nargs - 1; i++) {
709
if (PyTuple_GET_ITEM(fnargs, i) == pto->placeholder) {
0 commit comments