Return a bool indicating whether object was opened for reading. If False, read() will raise OSError.
(self)
| 463 | if msg is None else msg) |
| 464 | |
| 465 | def readable(self): |
| 466 | """Return a bool indicating whether object was opened for reading. |
| 467 | |
| 468 | If False, read() will raise OSError. |
| 469 | """ |
| 470 | return False |
| 471 | |
| 472 | def _checkReadable(self, msg=None): |
| 473 | """Internal: raise UnsupportedOperation if file is not readable |