Return a bool indicating whether object was opened for reading. If False, read() will raise OSError.
(self)
| 432 | if msg is None else msg) |
| 433 | |
| 434 | def readable(self): |
| 435 | """Return a bool indicating whether object was opened for reading. |
| 436 | |
| 437 | If False, read() will raise OSError. |
| 438 | """ |
| 439 | return False |
| 440 | |
| 441 | def _checkReadable(self, msg=None): |
| 442 | """Internal: raise UnsupportedOperation if file is not readable |