[Python-checkins] cpython (merge 3.2 -> default): Issue #15368: fixing variable typo.

meador.inge python-checkins at python.org
Wed Jul 18 23:51:23 CEST 2012


http://hg.python.org/cpython/rev/6502de91610d
changeset:   78168:6502de91610d
parent:      78165:578066372485
parent:      78167:1c46f2ede4cb
user:        Meador Inge <meadori at gmail.com>
date:        Wed Jul 18 16:49:07 2012 -0500
summary:
  Issue #15368: fixing variable typo.

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


diff --git a/Python/compile.c b/Python/compile.c
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -417,7 +417,7 @@
         Py_DECREF(sorted_keys);
         return NULL;
     }
-    num_keys = PyList_GET_SIZE(src);
+    num_keys = PyList_GET_SIZE(sorted_keys);
 
     for (key_i = 0; key_i < num_keys; key_i++) {
         /* XXX this should probably be a macro in symtable.h */

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


More information about the Python-checkins mailing list