Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ orig_argv
Function
orig_argv
crates/vm/src/stdlib/sys.rs:697–699 ·
view source on GitHub ↗
(vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
695
696
#[pyattr]
697
fn orig_argv(vm: &VirtualMachine) -> Vec<PyObjectRef> {
698
env::args().map(|arg| vm.ctx.new_str(arg).into()).collect()
699
}
700
701
#[pyattr]
702
fn path(vm: &VirtualMachine) -> Vec<PyObjectRef> {
Callers
nothing calls this directly
Calls
3
collect
Method · 0.80
map
Method · 0.45
new_str
Method · 0.45
Tested by
no test coverage detected