(&self)
| 921 | impl ScandirIterator { |
| 922 | #[pymethod] |
| 923 | fn close(&self) { |
| 924 | let entryref: &mut Option<fs::ReadDir> = &mut self.entries.write(); |
| 925 | let _dropped = entryref.take(); |
| 926 | } |
| 927 | |
| 928 | #[pymethod] |
| 929 | const fn __enter__(zelf: PyRef<Self>) -> PyRef<Self> { |