summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 0854cc4..5e85ea4 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1992,8 +1992,9 @@ vgetargskeywordsfast(PyObject *args, PyObject *keywords,
return cleanreturn(0, &freelist);
}
}
- else if (i < nargs)
+ else if (i < nargs) {
current_arg = PyTuple_GET_ITEM(args, i);
+ }
if (current_arg) {
msg = convertitem(current_arg, &format, p_va, flags,