Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ read_bytes
Method
read_bytes
Lib/zipfile/_path/__init__.py:382–384 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
380
return
strm.read()
381
382
def
read_bytes(self):
383
with
self.open(
'rb'
)
as
strm:
384
return
strm.read()
385
386
def
_is_child(self, path):
387
return
posixpath.dirname(path.at.rstrip(
"/"
)) == self.at.rstrip(
"/"
)
Callers
nothing calls this directly
Calls
2
open
Method · 0.95
read
Method · 0.45
Tested by
no test coverage detected