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

Function main

examples/mini_repl.rs:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32fn main() -> vm::PyResult<()> {
33 vm::Interpreter::without_stdlib(Default::default()).enter(run)
34}
35
36fn run(vm: &vm::VirtualMachine) -> vm::PyResult<()> {
37 let mut input = String::with_capacity(50);

Callers

nothing calls this directly

Calls 1

enterMethod · 0.45

Tested by

no test coverage detected