Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write
Method
write
Lib/zipfile/__init__.py:932–935 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
930
self.offset = 0
931
932
def
write(self, data):
933
n = self.fp.write(data)
934
self.offset += n
935
return
n
936
937
def
tell(self):
938
return
self.offset
Callers
nothing calls this directly
Calls
1
write
Method · 0.45
Tested by
no test coverage detected