MCPcopy 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
180impl<T: PyPayload> Borrow<PyObject> for PyInterned<T> {

Callers 1

import_code_objFunction · 0.45

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected