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

Method read

Lib/test/test_io/test_textio.py:1436–1437  ·  view source on GitHub ↗
(self, len_)

Source from the content-addressed store, hash-verified

1434 return _to_memoryview(super().read1(len_))
1435
1436 def read(self, len_):
1437 return _to_memoryview(super().read(len_))
1438
1439def _to_memoryview(buf):
1440 '''Convert bytes-object *buf* to a non-trivial memoryview'''

Callers 11

test_uninitializedMethod · 0.45
test_basic_ioMethod · 0.45
test_seekingMethod · 0.45
test_append_bomMethod · 0.45
test_seek_bomMethod · 0.45
test_seek_append_bomMethod · 0.45
test_threads_writeMethod · 0.45

Calls 2

_to_memoryviewFunction · 0.85
superClass · 0.85

Tested by

no test coverage detected