(self)
| 192 | ) |
| 193 | |
| 194 | def __iter__(self): |
| 195 | with bz2.open( |
| 196 | self.path, |
| 197 | mode=self.mode, |
| 198 | compresslevel=self.compresslevel, |
| 199 | encoding=self.encoding, |
| 200 | errors=self.errors, |
| 201 | newline=self.newline, |
| 202 | ) as file_content: |
| 203 | for line in file_content: |
| 204 | yield line |
| 205 | |
| 206 | def read(self): |
| 207 | with bz2.open( |