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

Method _checkReadable

Lib/_pyio.py:1668–1670  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1666 return blksize
1667
1668 def _checkReadable(self):
1669 if not self._readable:
1670 raise UnsupportedOperation('File not open for reading')
1671
1672 def _checkWritable(self, msg=None):
1673 if not self._writable:

Callers 3

readMethod · 0.95
readallMethod · 0.95
readintoMethod · 0.95

Calls 1

Tested by

no test coverage detected