Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 78167:1c46f2ede4cb 3.2
Issue #15368: fixing variable typo.
| author | Meador Inge <meadori@gmail.com> |
|---|---|
| date | Wed, 18 Jul 2012 16:41:03 -0500 |
| parents | 79d54fba49b3 |
| children | 1577e66a6642 6502de91610d |
line wrap: on
line diff
--- a/Python/compile.c Wed Jul 18 14:20:11 2012 -0500 +++ b/Python/compile.c Wed Jul 18 16:41:03 2012 -0500 @@ -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 */
