Skip to content

Commit dd74372

Browse files
committed
os rename
1 parent 55a22c5 commit dd74372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/stdlib/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn os_error(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
110110
}
111111

112112
pub fn mk_module(ctx: &PyContext) -> PyObjectRef {
113-
let py_mod = ctx.new_module(&"io".to_string(), ctx.new_scope(None));
113+
let py_mod = ctx.new_module(&"os".to_string(), ctx.new_scope(None));
114114
ctx.set_attr(&py_mod, "open", ctx.new_rustfunc(os_open));
115115
ctx.set_attr(&py_mod, "close", ctx.new_rustfunc(os_close));
116116
ctx.set_attr(&py_mod, "error", ctx.new_rustfunc(os_error));

0 commit comments

Comments
 (0)