Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ gettrace
Function
gettrace
crates/vm/src/stdlib/sys.rs:1088–1090 ·
view source on GitHub ↗
(vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
1086
1087
#[pyfunction]
1088
fn gettrace(vm: &VirtualMachine) -> PyObjectRef {
1089
vm.trace_func.borrow().clone()
1090
}
1091
1092
#[cfg(windows)]
1093
fn get_kernel32_version() -> std::io::Result<(u32, u32, u32)> {
Callers
nothing calls this directly
Calls
2
clone
Method · 0.45
borrow
Method · 0.45
Tested by
no test coverage detected