summaryrefslogtreecommitdiffstats
path: root/Modules/symtablemodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-10-26 17:22:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-10-26 17:22:08 (GMT)
commit77353664e2fc0489bb18e2644d36b67ddea2ceef (patch)
treece2cc7ff11331267e34c4cf748af25db0675b25e /Modules/symtablemodule.c
parenta577f1e0f15ca23e2916022009843b4c16ce5c96 (diff)
parent89d8cd943b25185e8d15b15636531ff84277bdab (diff)
downloadcpython-77353664e2fc0489bb18e2644d36b67ddea2ceef.zip
cpython-77353664e2fc0489bb18e2644d36b67ddea2ceef.tar.gz
cpython-77353664e2fc0489bb18e2644d36b67ddea2ceef.tar.bz2
merge 3.3 (#19393)
Diffstat (limited to 'Modules/symtablemodule.c')
-rw-r--r--Modules/symtablemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c
index 036fdb9..cdb4ffc 100644
--- a/Modules/symtablemodule.c
+++ b/Modules/symtablemodule.c
@@ -34,7 +34,7 @@ symtable_symtable(PyObject *self, PyObject *args)
Py_DECREF(filename);
if (st == NULL)
return NULL;
- t = st->st_blocks;
+ t = (PyObject *)st->st_top;
Py_INCREF(t);
PyMem_Free((void *)st->st_future);
PySymtable_Free(st);