Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 78166:47e074f6ca26 2.7
Issue #15368: fixing variable typo.
| author | Meador Inge <meadori@gmail.com> |
|---|---|
| date | Wed, 18 Jul 2012 16:32:37 -0500 |
| parents | 7eb0180c1734 |
| children | 9a3861db4341 |
line wrap: on
line diff
--- a/Python/compile.c Wed Jul 18 14:09:04 2012 -0500 +++ b/Python/compile.c Wed Jul 18 16:32:37 2012 -0500 @@ -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);
