Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f69e24e

Browse files
committed
Issue #15368: fixing variable typo.
1 parent 2ca6315 commit f69e24e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ dictbytype(PyObject *src, int scope_type, int flag, int offset)
387387
Py_DECREF(sorted_keys);
388388
return NULL;
389389
}
390-
num_keys = PyList_GET_SIZE(src);
390+
num_keys = PyList_GET_SIZE(sorted_keys);
391391

392392
for (key_i = 0; key_i < num_keys; key_i++) {
393393
/* XXX this should probably be a macro in symtable.h */

0 commit comments

Comments
 (0)