summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-17 01:09:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-17 01:09:17 (GMT)
commite0d4c7b5bd2ad5c94d12d48f23552da06a0230e5 (patch)
tree7b35b89c4b38895f4d801d4a29f43eb988836e2e /Python
parent1e45c58a55504451bef995ce9dcfe71ec504c33a (diff)
downloadcpython-e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5.zip
cpython-e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5.tar.gz
cpython-e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5.tar.bz2
expose PySTEntry.nested so the symtable module will work
Diffstat (limited to 'Python')
-rw-r--r--Python/symtable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 5e67c06..46909fc 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -112,6 +112,7 @@ static PyMemberDef ste_memberlist[] = {
{"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
{"varnames", T_OBJECT, OFF(ste_varnames), READONLY},
{"children", T_OBJECT, OFF(ste_children), READONLY},
+ {"nested", T_INT, OFF(ste_nested), READONLY},
{"type", T_INT, OFF(ste_type), READONLY},
{"lineno", T_INT, OFF(ste_lineno), READONLY},
{NULL}