mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Improve Python tree-shaking
This commit is contained in:
parent
5bb2275788
commit
4f41f2184d
169 changed files with 4182 additions and 2411 deletions
5
third_party/python/Modules/atexitmodule.c
vendored
5
third_party/python/Modules/atexitmodule.c
vendored
|
@ -21,6 +21,11 @@
|
|||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("atexit");
|
||||
PYTHON_PROVIDE("atexit._clear");
|
||||
PYTHON_PROVIDE("atexit._ncallbacks");
|
||||
PYTHON_PROVIDE("atexit._run_exitfuncs");
|
||||
PYTHON_PROVIDE("atexit.register");
|
||||
PYTHON_PROVIDE("atexit.unregister");
|
||||
|
||||
/*
|
||||
* atexit - allow programmer to define multiple exit functions to be executed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue