diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-16 18:42:13 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-16 18:42:13 (GMT) |
commit | 43454765c22124f4b93a131b65bbd0774aa2d51b (patch) | |
tree | 3ae2e45309f31d460456acfa2b0f8209b303a475 /Modules/symtablemodule.c | |
parent | dd37dace874c8b5b28673dac211b735506aa851a (diff) | |
download | cpython-43454765c22124f4b93a131b65bbd0774aa2d51b.zip cpython-43454765c22124f4b93a131b65bbd0774aa2d51b.tar.gz cpython-43454765c22124f4b93a131b65bbd0774aa2d51b.tar.bz2 |
Export three optimization (fast locals) flags
Diffstat (limited to 'Modules/symtablemodule.c')
-rw-r--r-- | Modules/symtablemodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c index 21ce11c..2452521 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c @@ -65,6 +65,10 @@ init_symtable(void) PyModule_AddIntConstant(m, "TYPE_CLASS", TYPE_CLASS); PyModule_AddIntConstant(m, "TYPE_MODULE", TYPE_MODULE); + PyModule_AddIntConstant(m, "OPT_IMPORT_STAR", OPT_IMPORT_STAR); + PyModule_AddIntConstant(m, "OPT_EXEC", OPT_EXEC); + PyModule_AddIntConstant(m, "OPT_BARE_EXEC", OPT_BARE_EXEC); + PyModule_AddIntConstant(m, "LOCAL", LOCAL); PyModule_AddIntConstant(m, "GLOBAL_EXPLICIT", GLOBAL_EXPLICIT); PyModule_AddIntConstant(m, "GLOBAL_IMPLICIT", GLOBAL_IMPLICIT); |