Skip to content

Commit 55b066d

Browse files
committed
stub opcode module
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
1 parent 6a6fdb6 commit 55b066d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

vm/src/stdlib/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub mod sys;
4949
mod winapi;
5050
#[cfg(windows)]
5151
mod winreg;
52+
mod opcode;
5253

5354
use crate::{builtins::PyModule, PyRef, VirtualMachine};
5455
use std::{borrow::Cow, collections::HashMap};
@@ -83,6 +84,7 @@ pub fn get_module_inits() -> StdlibMap {
8384
"itertools" => itertools::make_module,
8485
"_io" => io::make_module,
8586
"marshal" => marshal::make_module,
87+
"_opcode" => opcode::make_module,
8688
"_operator" => operator::make_module,
8789
"_signal" => signal::make_module,
8890
"_sre" => sre::make_module,

vm/src/stdlib/opcode.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pub(crate) use _opcode::make_module;
2+
3+
#[pymodule]
4+
mod _opcode {
5+
6+
}

0 commit comments

Comments
 (0)