Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_pyresult
Method
to_pyresult
crates/vm/src/object/ext.rs:679–681 ·
view source on GitHub ↗
(self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
677
{
678
#[inline(always)]
679
fn to_pyresult(self, vm: &VirtualMachine) -> PyResult {
680
Ok(self.to_pyobject(vm))
681
}
682
}
683
684
impl<T, E> ToPyResult for Result<T, E>
Callers
15
get
Method · 0.45
CreatePipe
Function · 0.45
DuplicateHandle
Function · 0.45
GetExitCodeProcess
Function · 0.45
as_number
Method · 0.45
int.rs
File · 0.45
number_op
Method · 0.45
as_number
Method · 0.45
as_number
Method · 0.45
object_getstate_default
Function · 0.45
as_number
Method · 0.45
number_op
Method · 0.45
Calls
2
to_pyobject
Method · 0.45
map
Method · 0.45
Tested by
no test coverage detected