(
&self,
a: &PyObject,
b: &PyObject,
iop_slot: PyNumberBinaryOp,
op_slot: PyNumberBinaryOp,
op: &str,
)
| 275 | } |
| 276 | |
| 277 | fn binary_iop( |
| 278 | &self, |
| 279 | a: &PyObject, |
| 280 | b: &PyObject, |
| 281 | iop_slot: PyNumberBinaryOp, |
| 282 | op_slot: PyNumberBinaryOp, |
| 283 | op: &str, |
| 284 | ) -> PyResult { |
| 285 | let result = self.binary_iop1(a, b, iop_slot, op_slot)?; |
| 286 | if !result.is(&self.ctx.not_implemented) { |
| 287 | return Ok(result); |
| 288 | } |
| 289 | Err(self.new_unsupported_bin_op_error(a, b, op)) |
| 290 | } |
| 291 | |
| 292 | fn ternary_op( |
| 293 | &self, |
nothing calls this directly
no test coverage detected