Return a bool indicating whether object was opened for writing. If False, write() and truncate() will raise OSError.
(self)
| 477 | if msg is None else msg) |
| 478 | |
| 479 | def writable(self): |
| 480 | """Return a bool indicating whether object was opened for writing. |
| 481 | |
| 482 | If False, write() and truncate() will raise OSError. |
| 483 | """ |
| 484 | return False |
| 485 | |
| 486 | def _checkWritable(self, msg=None): |
| 487 | """Internal: raise UnsupportedOperation if file is not writable |