MCPcopy Index your code
hub / github.com/RustPython/RustPython / readbytes

Method readbytes

Lib/test/test_pathlib/support/zip_path.py:69–71  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

67 return f.read()
68
69 def readbytes(self, p):
70 with p.zip_file.open(str(p), 'r') as f:
71 return f.read()
72
73 readlink = readtext
74

Callers 8

test_copy_fileMethod · 0.45
test_copy_file_emptyMethod · 0.45
test_copy_intoMethod · 0.45
test_open_wbMethod · 0.45
test_write_bytesMethod · 0.45
test_write_textMethod · 0.45

Calls 3

strFunction · 0.85
openMethod · 0.45
readMethod · 0.45

Tested by 8

test_copy_fileMethod · 0.36
test_copy_file_emptyMethod · 0.36
test_copy_intoMethod · 0.36
test_open_wbMethod · 0.36
test_write_bytesMethod · 0.36
test_write_textMethod · 0.36