(self)
| 250 | self.filters = filters |
| 251 | |
| 252 | def __iter__(self): |
| 253 | with lzma.open( |
| 254 | self.path, |
| 255 | mode=self.mode, |
| 256 | format=self.format, |
| 257 | check=self.check, |
| 258 | preset=self.preset, |
| 259 | filters=self.filters, |
| 260 | encoding=self.encoding, |
| 261 | errors=self.errors, |
| 262 | newline=self.newline, |
| 263 | ) as file_content: |
| 264 | for line in file_content: |
| 265 | yield line |
| 266 | |
| 267 | def read(self): |
| 268 | with lzma.open( |