Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Auto-format: cargo fmt --all
  • Loading branch information
github-actions[bot] committed Dec 29, 2025
commit c4d502acd230f28c147dc17074f9a18eb679075a
2 changes: 1 addition & 1 deletion src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub type InitHook = Box<dyn FnOnce(&mut VirtualMachine)>;
/// // Your module implementation
/// # todo!()
/// }
Comment on lines +37 to +40
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still misleading about making a module.

Suggested change
/// fn make_module(vm: &VirtualMachine) -> PyRef<PyModule> {
/// // Your module implementation
/// # todo!()
/// }
/// #[pymodule]
/// mod your_module {}

///
///
/// let interpreter = InterpreterConfig::new()
/// .init_stdlib()
/// .add_native_module(
Expand Down