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

Function make_arg_getter

crates/vm/src/exceptions.rs:1082–1084  ·  view source on GitHub ↗
(idx: usize)

Source from the content-addressed store, hash-verified

1080}
1081
1082fn make_arg_getter(idx: usize) -> impl Fn(PyBaseExceptionRef) -> Option<PyObjectRef> {
1083 move |exc| exc.get_arg(idx)
1084}
1085
1086fn syntax_error_set_msg(
1087 exc: PyBaseExceptionRef,

Callers

nothing calls this directly

Calls 1

get_argMethod · 0.45

Tested by

no test coverage detected