summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 5d5acd0..2ae12c3 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2721,11 +2721,11 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
for (i = co->co_argcount;
i < co->co_argcount + co->co_kwonlyargcount;
i++) {
+ PyObject *name, *def;
if (GETLOCAL(i) != NULL)
continue;
- PyObject *name =
- PyTuple_GET_ITEM(co->co_varnames, i);
- PyObject *def = NULL;
+ name = PyTuple_GET_ITEM(co->co_varnames, i);
+ def = NULL;
if (kwdefs != NULL)
def = PyDict_GetItem(kwdefs, name);
if (def != NULL) {