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

Method close

Lib/multiprocessing/connection.py:177–183  ·  view source on GitHub ↗

Close the connection

(self)

Source from the content-addressed store, hash-verified

175 return self._handle
176
177 def close(self):
178 """Close the connection"""
179 if self._handle is not None:
180 try:
181 self._close()
182 finally:
183 self._handle = None
184
185 def _detach(self):
186 """Stop managing the underlying file descriptor or handle."""

Callers 2

_bad_message_lengthMethod · 0.95
__exit__Method · 0.95

Calls 1

_closeMethod · 0.45

Tested by

no test coverage detected