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

Method readinto

Lib/tarfile.py:713–716  ·  view source on GitHub ↗
(self, b)

Source from the content-addressed store, hash-verified

711 return buf
712
713 def readinto(self, b):
714 buf = self.read(len(b))
715 b[:len(buf)] = buf
716 return len(buf)
717
718 def close(self):
719 self.closed = True

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected