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

Method _detach

Lib/asyncio/base_events.py:303–306  ·  view source on GitHub ↗
(self, transport)

Source from the content-addressed store, hash-verified

301 self._clients.add(transport)
302
303 def _detach(self, transport):
304 self._clients.discard(transport)
305 if len(self._clients) == 0 and self._sockets is None:
306 self._wakeup()
307
308 def _wakeup(self):
309 waiters = self._waiters

Callers 3

__del__Method · 0.45
_call_connection_lostMethod · 0.45
_call_connection_lostMethod · 0.45

Calls 2

_wakeupMethod · 0.95
discardMethod · 0.45

Tested by

no test coverage detected