MCPcopy 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

superClass · 0.85
lenFunction · 0.85
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected