Reduce dependencies of vm and parser crates

This commit is contained in:
Windel Bouwman
2018-07-18 10:22:00 +02:00
parent 476edb509c
commit bbc19305f8
9 changed files with 51 additions and 81 deletions

15
vm/src/sysmodule.rs Normal file
View 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
}
*/