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

Method resume

crates/vm/src/frame.rs:1023–1034  ·  view source on GitHub ↗
(
        &self,
        value: Option<PyObjectRef>,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

1021 }
1022
1023 pub(crate) fn resume(
1024 &self,
1025 value: Option<PyObjectRef>,
1026 vm: &VirtualMachine,
1027 ) -> PyResult<ExecutionResult> {
1028 self.with_exec(vm, |mut exec| {
1029 if let Some(value) = value {
1030 exec.push_value(value)
1031 }
1032 exec.run(vm)
1033 })
1034 }
1035
1036 pub(crate) fn gen_throw(
1037 &self,

Callers 2

send_noneMethod · 0.45
sendMethod · 0.45

Calls 3

with_execMethod · 0.80
push_valueMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected