diff options
author | Guido van Rossum <guido@python.org> | 2006-11-22 04:45:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-11-22 04:45:33 (GMT) |
commit | 29602e42ebdccab99ee8396bba74bd46d5c200b1 (patch) | |
tree | edbad6a4f7fcc890c3e6b4a6cadecce663e9bfeb /Python | |
parent | 4f72a78684bbfcdc43ceeabb240ceee54706c4b0 (diff) | |
download | cpython-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.c | 6 |
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) { |