parameters: (self)
return_statement: return self._mode == _MODE_WRITE
docstring: Return whether the file was opened for writing.
docstring_summary: Return whether the file was opened for writing.
docstring_tokens: Return whether the file was opened for writing .
function: def writable(self):
          """Return whether the file was opened for writing."""
          self._check_not_closed()
          return self._mode == _MODE_WRITE
function_tokens: def writable ( self ) : self . _check_not_closed ( ) return self . _mode == _MODE_WRITE