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

Method _check_closed

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

Source from the content-addressed store, hash-verified

136 self._close()
137
138 def _check_closed(self):
139 if self._handle is None:
140 raise OSError("handle is closed")
141
142 def _check_readable(self):
143 if not self._readable:

Callers 7

filenoMethod · 0.95
send_bytesMethod · 0.95
sendMethod · 0.95
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