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

Method readlines

Lib/wsgiref/validate.py:208–214  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

206 return v
207
208 def readlines(self, *args):
209 assert_(len(args) <= 1)
210 lines = self.input.readlines(*args)
211 assert_(type(lines) is list)
212 for line in lines:
213 assert_(type(line) is bytes)
214 return lines
215
216 def __iter__(self):
217 while line := self.readline():

Callers

nothing calls this directly

Calls 1

assert_Function · 0.85

Tested by

no test coverage detected