diff Python/symtable.c @ 48255:153e9e678646 legacy-trunk

expose PySTEntry.nested so the symtable module will work
author Benjamin Peterson <benjamin@python.org>
date Sun, 17 Aug 2008 01:09:17 +0000
parents 9de68ad86078
children 5a35c963e771
line wrap: on
line diff
--- a/Python/symtable.c	Sun Aug 17 00:36:03 2008 +0000
+++ b/Python/symtable.c	Sun Aug 17 01:09:17 2008 +0000
@@ -112,6 +112,7 @@
 	{"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}