[Python-checkins] cpython: move declaration to top of block

benjamin.peterson python-checkins at python.org
Fri Oct 12 17:38:02 CEST 2012


http://hg.python.org/cpython/rev/6ca52f901fc1
changeset:   79694:6ca52f901fc1
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Oct 12 11:37:56 2012 -0400
summary:
  move declaration to top of block

files:
  Python/ceval.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/ceval.c b/Python/ceval.c
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1402,8 +1402,8 @@
 
         TARGET(DUP_TOP_TWO) {
             PyObject *top = TOP();
+            PyObject *second = SECOND();
             Py_INCREF(top);
-            PyObject *second = SECOND();
             Py_INCREF(second);
             STACKADJ(2);
             SET_TOP(top);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list