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

Method from_args

crates/vm/src/function/argument.rs:102–104  ·  view source on GitHub ↗
(_vm: &VirtualMachine, args: &mut FuncArgs)

Source from the content-addressed store, hash-verified

100
101impl FromArgs for FuncArgs {
102 fn from_args(_vm: &VirtualMachine, args: &mut FuncArgs) -> Result<Self, ArgumentError> {
103 Ok(core::mem::take(args))
104 }
105}
106
107impl FuncArgs {

Callers

nothing calls this directly

Calls 8

takeFunction · 0.85
newFunction · 0.85
SelfFunction · 0.85
remaining_keywordsMethod · 0.80
try_into_valueMethod · 0.80
take_positionalMethod · 0.80
insertMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected