(&self, a: &PyObject)
| 525 | } |
| 526 | |
| 527 | pub fn _neg(&self, a: &PyObject) -> PyResult { |
| 528 | self.get_special_method(a, identifier!(self, __neg__))? |
| 529 | .ok_or_else(|| self.new_unsupported_unary_error(a, "unary -"))? |
| 530 | .invoke((), self) |
| 531 | } |
| 532 | |
| 533 | pub fn _invert(&self, a: &PyObject) -> PyResult { |
| 534 | const STR: &str = "Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. \ |
no test coverage detected