Internal: raise UnsupportedOperation if file is not seekable
(self, msg=None)
| 456 | return False |
| 457 | |
| 458 | def _checkSeekable(self, msg=None): |
| 459 | """Internal: raise UnsupportedOperation if file is not seekable |
| 460 | """ |
| 461 | if not self.seekable(): |
| 462 | raise UnsupportedOperation("File or stream is not seekable." |
| 463 | if msg is None else msg) |
| 464 | |
| 465 | def readable(self): |
| 466 | """Return a bool indicating whether object was opened for reading. |
no test coverage detected