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

Method _attach

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

Source from the content-addressed store, hash-verified

297 return f'<{self.__class__.__name__} sockets={self.sockets!r}>'
298
299 def _attach(self, transport):
300 assert self._sockets is not None
301 self._clients.add(transport)
302
303 def _detach(self, transport):
304 self._clients.discard(transport)

Callers 2

__init__Method · 0.80
__init__Method · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected