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

Method seekable

Lib/lzma.py:176–178  ·  view source on GitHub ↗

Return whether the file supports seeking.

(self)

Source from the content-addressed store, hash-verified

174 return self._fp.fileno()
175
176 def seekable(self):
177 """Return whether the file supports seeking."""
178 return self.readable() and self._buffer.seekable()
179
180 def readable(self):
181 """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