Return a bool indicating whether object was opened for writing. If False, write() and truncate() will raise OSError.
(self)
| 446 | if msg is None else msg) |
| 447 | |
| 448 | def writable(self): |
| 449 | """Return a bool indicating whether object was opened for writing. |
| 450 | |
| 451 | If False, write() and truncate() will raise OSError. |
| 452 | """ |
| 453 | return False |
| 454 | |
| 455 | def _checkWritable(self, msg=None): |
| 456 | """Internal: raise UnsupportedOperation if file is not writable |