Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ seekable
Method
seekable
Lib/zipfile/__init__.py:1213–1216 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1211
super().close()
1212
1213
def
seekable(self):
1214
if
self.closed:
1215
raise
ValueError(
"I/O operation on closed file."
)
1216
return
self._seekable
1217
1218
def
seek(self, offset, whence=os.SEEK_SET):
1219
if
self.closed:
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected