Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_pyobject
Method
to_pyobject
crates/vm/src/codecs.rs:150–152 ·
view source on GitHub ↗
(self, _vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
148
impl ToPyObject for PyCodec {
149
#[inline]
150
fn to_pyobject(self, _vm: &VirtualMachine) -> PyObjectRef {
151
self.0.into()
152
}
153
}
154
155
impl CodecsRegistry {
Callers
2
update_unicode_error_attrs
Function · 0.45
replace_errors
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected