MCPcopy Index your code
hub / github.com/RustPython/RustPython / into_object

Method into_object

crates/vm/src/frame.rs:536–538  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

534 }
535
536 pub fn into_object(&self, vm: &VirtualMachine) -> PyObjectRef {
537 self.clone_mapping(vm).into()
538 }
539
540 pub fn as_object(&self, vm: &VirtualMachine) -> &PyObject {
541 self.get_or_create(vm).obj()

Callers 4

_adaptFunction · 0.45
py_newMethod · 0.45
reset_factoriesMethod · 0.45
execute_instructionMethod · 0.45

Calls 1

clone_mappingMethod · 0.80

Tested by

no test coverage detected