MCPcopy Index your code
hub / github.com/python/cpython / writable

Method writable

Lib/_pyio.py:1835–1838  ·  view source on GitHub ↗

True if file was opened in a write mode.

(self)

Source from the content-addressed store, hash-verified

1833 return self._readable
1834
1835 def writable(self):
1836 """True if file was opened in a write mode."""
1837 self._checkClosed()
1838 return self._writable
1839
1840 def fileno(self):
1841 """Return the underlying file descriptor (an integer)."""

Callers 1

testAblesMethod · 0.95

Calls 1

_checkClosedMethod · 0.45

Tested by 1

testAblesMethod · 0.76