A python iterator object. Unlike other python objects, this class includes a `Python<'p>` token so that PyIterator can implement the rust `Iterator` trait.
| 27 | /// Unlike other python objects, this class includes a `Python<'p>` token |
| 28 | /// so that PyIterator can implement the rust `Iterator` trait. |
| 29 | pub struct PyIterator<'p> { |
| 30 | py: Python<'p>, |
| 31 | iter: PyObject, |
| 32 | } |
| 33 | |
| 34 | impl<'p> PyIterator<'p> { |
| 35 | /// Constructs a PyIterator from a Python iterator object. |
nothing calls this directly
no outgoing calls
no test coverage detected