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

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


http://hg.python.org/cpython/rev/1c46f2ede4cb
changeset:   78167:1c46f2ede4cb
branch:      3.2
parent:      78164:79d54fba49b3
user:        Meador Inge <meadori at gmail.com>
date:        Wed Jul 18 16:41:03 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
@@ -387,7 +387,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