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

Method __iter__

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

Source from the content-addressed store, hash-verified

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(

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected