(&self, a: &PyObject)
| 519 | } |
| 520 | |
| 521 | pub fn _pos(&self, a: &PyObject) -> PyResult { |
| 522 | self.get_special_method(a, identifier!(self, __pos__))? |
| 523 | .ok_or_else(|| self.new_unsupported_unary_error(a, "unary +"))? |
| 524 | .invoke((), self) |
| 525 | } |
| 526 | |
| 527 | pub fn _neg(&self, a: &PyObject) -> PyResult { |
| 528 | self.get_special_method(a, identifier!(self, __neg__))? |
no test coverage detected