(&self, py: Python<'p>)
| 329 | /// is an iterator, this returns itself. |
| 330 | #[inline] |
| 331 | fn iter<'p>(&self, py: Python<'p>) -> PyResult<crate::objects::PyIterator<'p>> { |
| 332 | let obj = unsafe { err::result_from_owned_ptr(py, ffi::PyObject_GetIter(self.as_ptr())) }?; |
| 333 | Ok(crate::objects::PyIterator::from_object(py, obj)?) |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | impl ObjectProtocol for PyObject {} |
nothing calls this directly
no test coverage detected