summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-07-18 21:49:07 (GMT)
committerMeador Inge <meadori@gmail.com>2012-07-18 21:49:07 (GMT)
commit9544aa38d982ddb5291af1e012cd2f650aabb7c0 (patch)
tree1e06893b241c24adfa6ac486b8dcd9e7ce8bdc64 /Python/compile.c
parent1f336adc8f2107f5788d3176f0c24e96c1080ceb (diff)
parentf69e24e3c66f516d05cbc5db383784e1523a8fbd (diff)
downloadcpython-9544aa38d982ddb5291af1e012cd2f650aabb7c0.zip
cpython-9544aa38d982ddb5291af1e012cd2f650aabb7c0.tar.gz
cpython-9544aa38d982ddb5291af1e012cd2f650aabb7c0.tar.bz2
Issue #15368: fixing variable typo.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 12ab46b..9c8879f 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -417,7 +417,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 */