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

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


http://hg.python.org/cpython/rev/47e074f6ca26
changeset:   78166:47e074f6ca26
branch:      2.7
parent:      78163:7eb0180c1734
user:        Meador Inge <meadori at gmail.com>
date:        Wed Jul 18 16:32:37 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
@@ -379,7 +379,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++) {
         k = PyList_GET_ITEM(sorted_keys, key_i);

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


More information about the Python-checkins mailing list