MCPcopy Index your code
hub / github.com/RustPython/RustPython / module_exec

Function module_exec

crates/stdlib/src/sha512.rs:16–20  ·  view source on GitHub ↗
(vm: &VirtualMachine, module: &Py<PyModule>)

Source from the content-addressed store, hash-verified

14 }
15
16 pub(crate) fn module_exec(vm: &VirtualMachine, module: &Py<PyModule>) -> PyResult<()> {
17 let _ = vm.import("_hashlib", 0);
18 __module_exec(vm, module);
19 Ok(())
20 }
21}
22
23pub(crate) use _sha512::module_def;

Callers

nothing calls this directly

Calls 1

importMethod · 0.45

Tested by

no test coverage detected