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

Method readinto

Lib/bz2.py:186–192  ·  view source on GitHub ↗

Read bytes into b. Returns the number of bytes read (0 for EOF).

(self, b)

Source from the content-addressed store, hash-verified

184 return self._buffer.read1(size)
185
186 def readinto(self, b):
187 """Read bytes into b.
188
189 Returns the number of bytes read (0 for EOF).
190 """
191 self._check_can_read()
192 return self._buffer.readinto(b)
193
194 def readline(self, size=-1):
195 """Read a line of uncompressed bytes from the file.

Callers 1

file_digestFunction · 0.45

Calls 1

_check_can_readMethod · 0.80

Tested by

no test coverage detected