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

Method read

Lib/test/test_urllib.py:49–52  ·  view source on GitHub ↗
(self, amt=None)

Source from the content-addressed store, hash-verified

47 return self
48
49 def read(self, amt=None):
50 if self.closed:
51 return b""
52 return io.BytesIO.read(self, amt)
53
54 def readline(self, length=None):
55 if self.closed:

Callers 6

test_readMethod · 0.45
test_filenoMethod · 0.45
test_read_textMethod · 0.45
test_read_text_base64Method · 0.45
test_read_imageMethod · 0.45
test_copyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected