Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_object
Method
to_object
crates/vm/src/intern.rs:175–177 ·
view source on GitHub ↗
(&'static self)
Source
from the content-addressed store, hash-verified
173
174
#[inline]
175
pub fn to_object(&'static self) -> PyObjectRef {
176
self.to_owned().into()
177
}
178
}
179
180
impl<T: PyPayload> Borrow<PyObject> for PyInterned<T> {
Callers
1
import_code_obj
Function · 0.45
Calls
1
to_owned
Method · 0.45
Tested by
no test coverage detected