mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Add timeit module
This commit is contained in:
parent
ffd0816da8
commit
56386ab74d
2 changed files with 5 additions and 2 deletions
|
@ -6,7 +6,7 @@ use std::process::Command;
|
|||
use crate::serialize::get_magic_num_from_bytes;
|
||||
|
||||
#[cfg(unix)]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 22] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 23] = [
|
||||
"copy",
|
||||
"datetime",
|
||||
"glob",
|
||||
|
@ -27,11 +27,12 @@ pub const BUILTIN_PYTHON_MODS: [&str; 22] = [
|
|||
"sys",
|
||||
"tarfile",
|
||||
"time",
|
||||
"timeit",
|
||||
"urllib",
|
||||
"zipfile",
|
||||
];
|
||||
#[cfg(not(unix))]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 21] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 22] = [
|
||||
"copy",
|
||||
"datetime",
|
||||
"glob",
|
||||
|
@ -51,6 +52,7 @@ pub const BUILTIN_PYTHON_MODS: [&str; 21] = [
|
|||
"sys",
|
||||
"tarfile",
|
||||
"time",
|
||||
"timeit",
|
||||
"urllib",
|
||||
"zipfile",
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue