diff options
author | Meador Inge <meadori@gmail.com> | 2012-07-18 21:32:37 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2012-07-18 21:32:37 (GMT) |
commit | b8a569065eb05b14a7aef1d837159e7135defbfb (patch) | |
tree | 10f241042d6150db01b215e1f1114c7e11c2f520 /Python | |
parent | 6642d1f97d7b89509159214253900eb3d970e223 (diff) | |
download | cpython-b8a569065eb05b14a7aef1d837159e7135defbfb.zip cpython-b8a569065eb05b14a7aef1d837159e7135defbfb.tar.gz cpython-b8a569065eb05b14a7aef1d837159e7135defbfb.tar.bz2 |
Issue #15368: fixing variable typo.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index d50344c..3cf8c6e 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -379,7 +379,7 @@ dictbytype(PyObject *src, int scope_type, int flag, int offset) 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); |