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

Method invoke

crates/vm/src/vm/vm_object.rs:198–200  ·  view source on GitHub ↗
(&self, obj: &impl AsObject, args: impl IntoFuncArgs)

Source from the content-addressed store, hash-verified

196
197 #[deprecated(note = "in favor of `obj.call(args, vm)`")]
198 pub fn invoke(&self, obj: &impl AsObject, args: impl IntoFuncArgs) -> PyResult {
199 obj.as_object().call(args, self)
200 }
201}

Callers 3

call_methodMethod · 0.45
dirMethod · 0.45
call_special_methodMethod · 0.45

Calls 2

callMethod · 0.45
as_objectMethod · 0.45

Tested by

no test coverage detected