(&self, _py: Python)
| 263 | /// True if this is None in Python. |
| 264 | #[inline] |
| 265 | pub fn is_none(&self, _py: Python) -> bool { |
| 266 | self.as_ptr() == unsafe { ffi::Py_None() } |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | /// PyObject implements the `==` operator using reference equality: |
no test coverage detected