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

Function le

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

Source from the content-addressed store, hash-verified

20
21 #[pyfunction]
22 fn le(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
23 a.rich_compare(b, PyComparisonOp::Le, vm)
24 }
25
26 #[pyfunction]
27 fn gt(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

rich_compareMethod · 0.80

Tested by

no test coverage detected