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

Method readinto

Lib/test/test_io/test_general.py:602–603  ·  view source on GitHub ↗
(self, b)

Source from the content-addressed store, hash-verified

600 def __init__(self, readinto_return) -> None:
601 self._readinto_return = readinto_return
602 def readinto(self, b):
603 return self._readinto_return
604
605 with self.assertRaises(ValueError) as cm:
606 Misbehaved(2).read(1)

Callers 1

read_opsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected