mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Add json
module
This commit is contained in:
parent
09b5f00305
commit
7defa71c86
8 changed files with 20 additions and 9 deletions
|
@ -6,11 +6,12 @@ use std::process::Command;
|
|||
use crate::serialize::get_magic_num_from_bytes;
|
||||
|
||||
#[cfg(unix)]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 15] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 16] = [
|
||||
"glob",
|
||||
"http",
|
||||
"importlib",
|
||||
"io",
|
||||
"json",
|
||||
"math",
|
||||
"os",
|
||||
"posix",
|
||||
|
@ -24,11 +25,12 @@ pub const BUILTIN_PYTHON_MODS: [&str; 15] = [
|
|||
"urllib",
|
||||
];
|
||||
#[cfg(not(unix))]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 14] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 15] = [
|
||||
"glob",
|
||||
"http",
|
||||
"importlib",
|
||||
"io",
|
||||
"json",
|
||||
"math",
|
||||
"os",
|
||||
"random",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue