(&self, a: &PyObject, b: &PyObject)
| 80 | } |
| 81 | |
| 82 | pub fn identical_or_equal(&self, a: &PyObject, b: &PyObject) -> PyResult<bool> { |
| 83 | if a.is(b) { |
| 84 | Ok(true) |
| 85 | } else { |
| 86 | self.bool_eq(a, b) |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | pub fn bool_seq_lt(&self, a: &PyObject, b: &PyObject) -> PyResult<Option<bool>> { |
| 91 | let value = if a.rich_compare_bool(b, PyComparisonOp::Lt, self)? { |
no test coverage detected