mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +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/_json.c
vendored
5
third_party/python/Modules/_json.c
vendored
|
@ -21,6 +21,11 @@
|
|||
/* clang-format off */
|
||||
|
||||
PYTHON_PROVIDE("_json");
|
||||
PYTHON_PROVIDE("_json.encode_basestring");
|
||||
PYTHON_PROVIDE("_json.encode_basestring_ascii");
|
||||
PYTHON_PROVIDE("_json.make_encoder");
|
||||
PYTHON_PROVIDE("_json.make_scanner");
|
||||
PYTHON_PROVIDE("_json.scanstring");
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED __attribute__((__unused__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue