Mercurial > cpython-lru_cache-weakref
diff Modules/symtablemodule.c @ 39782:c94f37054f19
Patch #1550800: make exec a function.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Wed, 06 Sep 2006 06:51:57 +0000 |
| parents | 1af7f719ed28 |
| children | 060c79f6d919 |
line wrap: on
line diff
--- a/Modules/symtablemodule.c Thu Aug 31 21:45:56 2006 +0000 +++ b/Modules/symtablemodule.c Wed Sep 06 06:51:57 2006 +0000 @@ -73,8 +73,7 @@ PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock); 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, "OPT_TOPLEVEL", OPT_TOPLEVEL); PyModule_AddIntConstant(m, "LOCAL", LOCAL); PyModule_AddIntConstant(m, "GLOBAL_EXPLICIT", GLOBAL_EXPLICIT);
