(&self, py: Python, other: impl ToPyObject)
| 208 | /// Invokes the `__or__` magic-method. |
| 209 | #[inline] |
| 210 | fn bitwise_or(&self, py: Python, other: impl ToPyObject) -> PyResult<PyObject> { |
| 211 | other.with_borrowed_ptr(py, |other| unsafe { |
| 212 | err::result_from_owned_ptr(py, ffi::PyNumber_Or(self.as_ptr(), other)) |
| 213 | }) |
| 214 | } |
| 215 | /// Convert this object to an integer, |
| 216 | /// equivalent to the builtin function `int(self)` |
| 217 | /// |
nothing calls this directly
no test coverage detected