From: Meador Inge Date: Wed, 18 Jul 2012 21:41:03 +0000 (-0500) Subject: Issue #15368: fixing variable typo. X-Git-Tag: v3.3.0b2~167^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f69e24e3c66f516d05cbc5db383784e1523a8fbd;p=thirdparty%2FPython%2Fcpython.git Issue #15368: fixing variable typo. --- diff --git a/Python/compile.c b/Python/compile.c index 8268b1c1e0ef..a1da016c2153 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -387,7 +387,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++) { /* XXX this should probably be a macro in symtable.h */