mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Implement tree-shaking for Python sources
This commit is contained in:
parent
81287b7ec0
commit
44c87b83ff
110 changed files with 899 additions and 1922 deletions
3
third_party/python/Modules/mathmodule.c
vendored
3
third_party/python/Modules/mathmodule.c
vendored
|
@ -19,10 +19,13 @@
|
|||
#include "third_party/python/Include/pymath.h"
|
||||
#include "third_party/python/Include/pymem.h"
|
||||
#include "third_party/python/Include/pyport.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Modules/_math.h"
|
||||
#include "third_party/python/pyconfig.h"
|
||||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("math");
|
||||
|
||||
/* Math module -- standard C math library functions, pi and e */
|
||||
|
||||
/* Here are some comments from Tim Peters, extracted from the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue