mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
get the symtable module back in working order
- Fix broken functions - Add (hopefully) extensive tests - Modernize a little
This commit is contained in:
parent
fd7c43e7be
commit
7dd854725b
3 changed files with 188 additions and 48 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue