(self, other: Self, op_id: PyComparisonOp, vm: &VirtualMachine)
| 28 | |
| 29 | #[inline(always)] |
| 30 | pub fn rich_compare(self, other: Self, op_id: PyComparisonOp, vm: &VirtualMachine) -> PyResult { |
| 31 | self._cmp(&other, op_id, vm).map(|res| res.to_pyobject(vm)) |
| 32 | } |
| 33 | |
| 34 | pub fn bytes(self, vm: &VirtualMachine) -> PyResult { |
| 35 | let bytes_type = vm.ctx.types.bytes_type; |