mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Add sys.path_hooks
This commit is contained in:
@@ -243,6 +243,7 @@ settrace() -- set the global debug tracing function
|
||||
"warnoptions" => ctx.new_list(vec![]),
|
||||
"platform" => ctx.new_str(platform),
|
||||
"meta_path" => ctx.new_list(vec![]),
|
||||
"path_hooks" => ctx.new_list(vec![]),
|
||||
});
|
||||
|
||||
modules.set_item("sys", module.clone(), vm).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user