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

Function gt

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

Source from the content-addressed store, hash-verified

25
26 #[pyfunction]
27 fn gt(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
28 a.rich_compare(b, PyComparisonOp::Gt, vm)
29 }
30
31 #[pyfunction]
32 fn ge(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

rich_compareMethod · 0.80

Tested by

no test coverage detected