summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-11-22 04:45:33 (GMT)
committerGuido van Rossum <guido@python.org>2006-11-22 04:45:33 (GMT)
commit29602e42ebdccab99ee8396bba74bd46d5c200b1 (patch)
treeedbad6a4f7fcc890c3e6b4a6cadecce663e9bfeb /Python
parent4f72a78684bbfcdc43ceeabb240ceee54706c4b0 (diff)
downloadcpython-29602e42ebdccab99ee8396bba74bd46d5c200b1.zip
cpython-29602e42ebdccab99ee8396bba74bd46d5c200b1.tar.gz
cpython-29602e42ebdccab99ee8396bba74bd46d5c200b1.tar.bz2
Make it compile with older compilers.
Diffstat (limited to 'Python')
-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) {