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

Method _check_readable

Lib/multiprocessing/connection.py:142–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140 raise OSError("handle is closed")
141
142 def _check_readable(self):
143 if not self._readable:
144 raise OSError("connection is write-only")
145
146 def _check_writable(self):
147 if not self._writable:

Callers 4

recv_bytesMethod · 0.95
recv_bytes_intoMethod · 0.95
recvMethod · 0.95
pollMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected