summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-17 17:13:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-17 17:13:26 (GMT)
commit7dd854725b0ecdd47b3818fe12ce2a3f9948f3ce (patch)
treeb4a2204aaaa70dee7e084136dad7a5115e9432e6 /Modules
parentfd7c43e7be2bb6828e5bddb323e19bea94cbfb7b (diff)
downloadcpython-7dd854725b0ecdd47b3818fe12ce2a3f9948f3ce.zip
cpython-7dd854725b0ecdd47b3818fe12ce2a3f9948f3ce.tar.gz
cpython-7dd854725b0ecdd47b3818fe12ce2a3f9948f3ce.tar.bz2
get the symtable module back in working order
- Fix broken functions - Add (hopefully) extensive tests - Modernize a little
Diffstat (limited to 'Modules')
-rw-r--r--Modules/symtablemodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c
index c90d765..53e987e 100644
--- a/Modules/symtablemodule.c
+++ b/Modules/symtablemodule.c
@@ -81,4 +81,7 @@ init_symtable(void)
PyModule_AddIntConstant(m, "GLOBAL_IMPLICIT", GLOBAL_IMPLICIT);
PyModule_AddIntConstant(m, "FREE", FREE);
PyModule_AddIntConstant(m, "CELL", CELL);
+
+ PyModule_AddIntConstant(m, "SCOPE_OFF", SCOPE_OFF);
+ PyModule_AddIntConstant(m, "SCOPE_MASK", SCOPE_MASK);
}