mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 20:34:44 +00:00
Add datetime
This commit is contained in:
parent
e31d109b32
commit
f99c788b85
4 changed files with 49 additions and 9 deletions
|
@ -6,7 +6,8 @@ use std::process::Command;
|
|||
use crate::serialize::get_magic_num_from_bytes;
|
||||
|
||||
#[cfg(unix)]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 19] = [
|
||||
"datetime",
|
||||
"glob",
|
||||
"http",
|
||||
"importlib",
|
||||
|
@ -27,7 +28,8 @@ pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
|
|||
"zipfile",
|
||||
];
|
||||
#[cfg(not(unix))]
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 17] = [
|
||||
pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
|
||||
"datetime",
|
||||
"glob",
|
||||
"http",
|
||||
"importlib",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue