Export three optimization (fast locals) flags

This commit is contained in:
Jeremy Hylton 2001-04-16 18:42:13 +00:00
parent dd37dace87
commit 43454765c2
1 changed files with 4 additions and 0 deletions

View File

@ -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);