Return whether the file supports seeking.
(self)
| 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.""" |