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

Method call

crates/vm/src/builtins/descriptor.rs:107–109  ·  view source on GitHub ↗
(zelf: &Py<Self>, args: FuncArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

105 type Args = FuncArgs;
106 #[inline]
107 fn call(zelf: &Py<Self>, args: FuncArgs, vm: &VirtualMachine) -> PyResult {
108 (zelf.method.func)(vm, args)
109 }
110}
111
112impl PyMethodDescriptor {

Callers 1

vectorcall_wrapperFunction · 0.45

Calls 15

noneMethod · 0.80
into_optionMethod · 0.80
sequence_uncheckedMethod · 0.80
mapping_uncheckedMethod · 0.80
numberMethod · 0.80
fast_isinstanceMethod · 0.80
funcFunction · 0.50
ErrClass · 0.50
SomeClass · 0.50
is_emptyMethod · 0.45
new_intMethod · 0.45
to_pyresultMethod · 0.45

Tested by

no test coverage detected