mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Reduce dependencies of vm and parser crates
This commit is contained in:
15
vm/src/sysmodule.rs
Normal file
15
vm/src/sysmodule.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use super::pyobject::{Executor, PyObject, PyObjectKind, PyObjectRef};
|
||||
|
||||
/*
|
||||
* The magic sys module.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
fn mk_module(rt: &mut Executor) -> PyObjectRef {
|
||||
let path = rt.new_list();
|
||||
let obj = rt.new_module("sys");
|
||||
obj
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user