MCPcopy Index your code
hub / github.com/RustPython/RustPython / _attach

Method _attach

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

Source from the content-addressed store, hash-verified

294 return f'<{self.__class__.__name__} sockets={self.sockets!r}>'
295
296 def _attach(self, transport):
297 assert self._sockets is not None
298 self._clients.add(transport)
299
300 def _detach(self, transport):
301 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