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

Method readline

Lib/test/test_urllib.py:54–57  ·  view source on GitHub ↗
(self, length=None)

Source from the content-addressed store, hash-verified

52 return io.BytesIO.read(self, amt)
53
54 def readline(self, length=None):
55 if self.closed:
56 return b""
57 return io.BytesIO.readline(self, length)
58
59 def close(self):
60 self.io_refs -= 1

Callers 2

test_readlineMethod · 0.45
check_readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected