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

Method into_pyobject

crates/vm/src/builtins/int.rs:67–69  ·  view source on GitHub ↗
(self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

65 }
66
67 fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef {
68 vm.ctx.new_int(self.value).into()
69 }
70
71 #[inline]
72 unsafe fn freelist_push(obj: *mut PyObject) -> bool {

Callers 15

newMethod · 0.45
fetchFunction · 0.45
load_moduleFunction · 0.45
blake2bFunction · 0.45
blake2sFunction · 0.45
sha384Function · 0.45
sha512Function · 0.45
md5Function · 0.45
iterMethod · 0.45
__reduce_ex__Method · 0.45
iterMethod · 0.45
sha224Function · 0.45

Calls 1

new_intMethod · 0.45

Tested by

no test coverage detected