MCPcopy Index your code
hub / github.com/python/cpython / seekable

Method seekable

Lib/compression/zstd/_zstdfile.py:280–282  ·  view source on GitHub ↗

Return whether the file supports seeking.

(self)

Source from the content-addressed store, hash-verified

278 return self._mode == _MODE_CLOSED
279
280 def seekable(self):
281 """Return whether the file supports seeking."""
282 return self.readable() and self._buffer.seekable()
283
284 def readable(self):
285 """Return whether the file was opened for reading."""

Callers 1

test_seekableMethod · 0.95

Calls 1

readableMethod · 0.95

Tested by 1

test_seekableMethod · 0.76