MCPcopy Index your code
hub / github.com/RustPython/RustPython / _checkReadable

Method _checkReadable

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

Source from the content-addressed store, hash-verified

1645 return blksize
1646
1647 def _checkReadable(self):
1648 if not self._readable:
1649 raise UnsupportedOperation('File not open for reading')
1650
1651 def _checkWritable(self, msg=None):
1652 if not self._writable:

Callers 3

readMethod · 0.95
readallMethod · 0.95
readintoMethod · 0.95

Calls 1

Tested by

no test coverage detected