Skip to content

Commit 4345476

Browse files
committed
Export three optimization (fast locals) flags
1 parent dd37dac commit 4345476

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/symtablemodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ init_symtable(void)
6565
PyModule_AddIntConstant(m, "TYPE_CLASS", TYPE_CLASS);
6666
PyModule_AddIntConstant(m, "TYPE_MODULE", TYPE_MODULE);
6767

68+
PyModule_AddIntConstant(m, "OPT_IMPORT_STAR", OPT_IMPORT_STAR);
69+
PyModule_AddIntConstant(m, "OPT_EXEC", OPT_EXEC);
70+
PyModule_AddIntConstant(m, "OPT_BARE_EXEC", OPT_BARE_EXEC);
71+
6872
PyModule_AddIntConstant(m, "LOCAL", LOCAL);
6973
PyModule_AddIntConstant(m, "GLOBAL_EXPLICIT", GLOBAL_EXPLICIT);
7074
PyModule_AddIntConstant(m, "GLOBAL_IMPLICIT", GLOBAL_IMPLICIT);

0 commit comments

Comments
 (0)