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

Function lt

crates/vm/src/stdlib/_operator.rs:17–19  ·  view source on GitHub ↗
(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

15
16 #[pyfunction]
17 fn lt(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
18 a.rich_compare(b, PyComparisonOp::Lt, vm)
19 }
20
21 #[pyfunction]
22 fn le(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

rich_compareMethod · 0.80

Tested by

no test coverage detected