MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / __iter__

Method __iter__

functional/io.py:252–265  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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(

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected