From: Meador Inge Date: Wed, 18 Jul 2012 21:32:37 +0000 (-0500) Subject: Issue #15368: fixing variable typo. X-Git-Tag: v2.7.4rc1~694^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8a569065eb05b14a7aef1d837159e7135defbfb;p=thirdparty%2FPython%2Fcpython.git Issue #15368: fixing variable typo. --- diff --git a/Python/compile.c b/Python/compile.c index d50344cf614d..3cf8c6ef9c44 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);