]> granicus.if.org Git - python/commitdiff
move declaration to top of block
authorBenjamin Peterson <benjamin@python.org>
Fri, 12 Oct 2012 15:37:56 +0000 (11:37 -0400)
committerBenjamin Peterson <benjamin@python.org>
Fri, 12 Oct 2012 15:37:56 +0000 (11:37 -0400)
Python/ceval.c

index 26972353329be78379a2232e67841875834a1469..c13436f4719a23c9384d5fb4e794a0b21bd7851b 100644 (file)
@@ -1402,8 +1402,8 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
 
         TARGET(DUP_TOP_TWO) {
             PyObject *top = TOP();
-            Py_INCREF(top);
             PyObject *second = SECOND();
+            Py_INCREF(top);
             Py_INCREF(second);
             STACKADJ(2);
             SET_TOP(top);