Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/zipfile/__init__.py:1206–1211 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1204
return
data
1205
1206
def
close(self):
1207
try
:
1208
if
self._close_fileobj:
1209
self._fileobj.close()
1210
finally:
1211
super().close()
1212
1213
def
seekable(self):
1214
if
self.closed:
Callers
nothing calls this directly
Calls
2
super
Class · 0.85
close
Method · 0.45
Tested by
no test coverage detected