Internal: raise UnsupportedOperation if file is not seekable
(self, msg=None)
| 425 | return False |
| 426 | |
| 427 | def _checkSeekable(self, msg=None): |
| 428 | """Internal: raise UnsupportedOperation if file is not seekable |
| 429 | """ |
| 430 | if not self.seekable(): |
| 431 | raise UnsupportedOperation("File or stream is not seekable." |
| 432 | if msg is None else msg) |
| 433 | |
| 434 | def readable(self): |
| 435 | """Return a bool indicating whether object was opened for reading. |
no test coverage detected