Method
slot_richcompare
(
zelf: &PyObject,
other: &PyObject,
op: PyComparisonOp,
vm: &VirtualMachine,
)
Source from the content-addressed store, hash-verified
| 307 | |
| 308 | #[pyslot] |
| 309 | fn slot_richcompare( |
| 310 | zelf: &PyObject, |
| 311 | other: &PyObject, |
| 312 | op: PyComparisonOp, |
| 313 | vm: &VirtualMachine, |
| 314 | ) -> PyResult<Either<PyObjectRef, PyComparisonValue>> { |
| 315 | Self::cmp(zelf, other, op, vm).map(Either::B) |
| 316 | } |
| 317 | |
| 318 | #[inline(always)] |
| 319 | fn cmp( |
Callers
nothing calls this directly
Tested by
no test coverage detected