Issue #15368: fixing variable typo.

This commit is contained in:
Meador Inge 2012-07-18 16:41:03 -05:00
parent 2ca6315d15
commit f69e24e3c6
1 changed files with 1 additions and 1 deletions

View File

@ -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 */