Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_pyobject
Method
to_pyobject
crates/vm/src/stdlib/posix.rs:382–384 ·
view source on GitHub ↗
(self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
380
381
impl ToPyObject for OwnedFd {
382
fn to_pyobject(self, vm: &VirtualMachine) -> PyObjectRef {
383
self.into_raw_fd().to_pyobject(vm)
384
}
385
}
386
387
// Flags for os_access
Callers
1
sched_getparam
Function · 0.45
Calls
1
into_raw_fd
Method · 0.45
Tested by
no test coverage detected