MCPcopy Index your code
hub / github.com/python/cpython / readline

Method readline

Lib/test/test_fileinput.py:66–69  ·  view source on GitHub ↗
(self, size=None)

Source from the content-addressed store, hash-verified

64 return self
65
66 def readline(self, size=None):
67 line = next(self.it, '')
68 self._linesread.append(line)
69 return line
70
71 def readlines(self, hint=-1):
72 lines = []

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected