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

Method numerator

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

Source from the content-addressed store, hash-verified

607
608 #[pygetset]
609 fn numerator(zelf: PyRef<Self>, vm: &VirtualMachine) -> PyRefExact<Self> {
610 zelf.__int__(vm)
611 }
612
613 #[pygetset]
614 const fn denominator(&self) -> usize {

Callers

nothing calls this directly

Calls 1

__int__Method · 0.45

Tested by

no test coverage detected