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

Method call

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

Source from the content-addressed store, hash-verified

19 /// PyObject_Call*Arg* series
20 #[inline]
21 pub fn call(&self, args: impl IntoFuncArgs, vm: &VirtualMachine) -> PyResult {
22 let args = args.into_args(vm);
23 self.call_with_args(args, vm)
24 }
25
26 /// PyObject_Call
27 pub fn call_with_args(&self, args: FuncArgs, vm: &VirtualMachine) -> PyResult {

Callers 15

mainFunction · 0.45
mainFunction · 0.45
runFunction · 0.45
bench_cpython_codeFunction · 0.45
run_fileFunction · 0.45
get_importerFunction · 0.45
run_llvm_covFunction · 0.45
py_mainFunction · 0.45
mainFunction · 0.45
add_instructionMethod · 0.45
get_awaitable_iterFunction · 0.45
print_exceptionMethod · 0.45

Calls 2

call_with_argsMethod · 0.80
into_argsMethod · 0.45

Tested by

no test coverage detected