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

Method real

crates/vm/src/builtins/int.rs:599–601  ·  view source on GitHub ↗
(zelf: PyRef<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

597
598 #[pygetset]
599 fn real(zelf: PyRef<Self>, vm: &VirtualMachine) -> PyRefExact<Self> {
600 zelf.__int__(vm)
601 }
602
603 #[pygetset]
604 const fn imag(&self) -> usize {

Callers

nothing calls this directly

Calls 1

__int__Method · 0.45

Tested by

no test coverage detected