Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ read_bytes
Method
read_bytes
Lib/zipfile/_path/__init__.py:385–387 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
383
return
strm.read()
384
385
def
read_bytes(self):
386
with
self.open(
'rb'
)
as
strm:
387
return
strm.read()
388
389
def
_is_child(self, path):
390
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