(self)
return self._mode == _MODE_WRITE
Return whether the file was opened for writing.
Return whether the file was opened for writing.
Return whether the file was opened for writing .
def writable(self):
        """Return whether the file was opened for writing."""
        self._check_not_closed()
        return self._mode == _MODE_WRITE
def writable ( self ) : self . _check_not_closed ( ) return self . _mode == _MODE_WRITE