Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1082
fn make_arg_getter(idx: usize) -> impl Fn(PyBaseExceptionRef) -> Option<PyObjectRef> {
1083
move |exc| exc.get_arg(idx)
1084
}
1085
1086
fn syntax_error_set_msg(
1087
exc: PyBaseExceptionRef,
Callers
nothing calls this directly
Calls
1
get_arg
Method · 0.45
Tested by
no test coverage detected