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

Method invoke

crates/vm/src/function/protocol.rs:21–24  ·  view source on GitHub ↗
(&self, args: impl IntoFuncArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

19impl ArgCallable {
20 #[inline(always)]
21 pub fn invoke(&self, args: impl IntoFuncArgs, vm: &VirtualMachine) -> PyResult {
22 let args = args.into_args(vm);
23 (self.call)(&self.obj, args, vm)
24 }
25}
26
27impl core::fmt::Debug for ArgCallable {

Callers

nothing calls this directly

Calls 1

into_argsMethod · 0.45

Tested by

no test coverage detected