From b8a569065eb05b14a7aef1d837159e7135defbfb Mon Sep 17 00:00:00 2001 From: Meador Inge Date: Wed, 18 Jul 2012 16:32:37 -0500 Subject: [PATCH] Issue #15368: fixing variable typo. --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index d50344cf61..3cf8c6ef9c 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); -- 2.50.1