(&self, a: &PyObject)
| 513 | } |
| 514 | |
| 515 | pub fn _abs(&self, a: &PyObject) -> PyResult<PyObjectRef> { |
| 516 | self.get_special_method(a, identifier!(self, __abs__))? |
| 517 | .ok_or_else(|| self.new_unsupported_unary_error(a, "abs()"))? |
| 518 | .invoke((), self) |
| 519 | } |
| 520 | |
| 521 | pub fn _pos(&self, a: &PyObject) -> PyResult { |
| 522 | self.get_special_method(a, identifier!(self, __pos__))? |
no test coverage detected