Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ readinto
Method
readinto
Lib/test/test_io/utils.py:174–177 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
172
return
res
173
174
def
readinto(self, b):
175
res = super().readinto(b)
176
self.read_history.append(res)
177
return
res
178
179
class
CMockFileIO(MockFileIO, io.BytesIO):
180
pass
Callers
15
testReadInto
Method · 0.45
test_bytearray_api
Method · 0.45
testSmallReadNonBlocking
Method · 0.45
test_readinto
Method · 0.45
test_read_readinto_readinto1
Method · 0.45
test_readinto
Method · 0.45
test_readinto
Method · 0.45
test_memoryview_serializing
Method · 0.45
readinto
Method · 0.45
testReadintoByteArray
Method · 0.45
_testReadintoMemoryview
Method · 0.45
_testReadintoArray
Method · 0.45
Calls
2
super
Class · 0.85
append
Method · 0.45
Tested by
15
testReadInto
Method · 0.36
test_bytearray_api
Method · 0.36
testSmallReadNonBlocking
Method · 0.36
test_readinto
Method · 0.36
test_read_readinto_readinto1
Method · 0.36
test_readinto
Method · 0.36
test_readinto
Method · 0.36
test_memoryview_serializing
Method · 0.36
testReadintoByteArray
Method · 0.36
_testReadintoMemoryview
Method · 0.36
_testReadintoArray
Method · 0.36
testErrnoOnClosedReadinto
Method · 0.36