Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ read
Method
read
Lib/test/test_io.py:223–226 ·
view source on GitHub ↗
(self, n=None)
Source
from the content-addressed store, hash-verified
221
super().__init__(data)
222
223
def
read(self, n=None):
224
res = super().read(n)
225
self.read_history.append(None
if
res is None
else
len(res))
226
return
res
227
228
def
readinto(self, b):
229
res = super().readinto(b)
Callers
nothing calls this directly
Calls
4
super
Class · 0.85
len
Function · 0.85
read
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected