(&self)
| 66 | impl Py<PyEnumerate> { |
| 67 | #[pymethod] |
| 68 | fn __reduce__(&self) -> (PyTypeRef, (PyIter, BigInt)) { |
| 69 | ( |
| 70 | self.class().to_owned(), |
| 71 | (self.iterable.clone(), self.counter.read().clone()), |
| 72 | ) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | impl SelfIter for PyEnumerate {} |