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

Method __init__

Lib/asyncio/unix_events.py:60–67  ·  view source on GitHub ↗
(self, selector=None)

Source from the content-addressed store, hash-verified

58 """
59
60 def __init__(self, selector=None):
61 super().__init__(selector)
62 self._signal_handlers = {}
63 self._unix_server_sockets = {}
64 if can_use_pidfd():
65 self._watcher = _PidfdChildWatcher()
66 else:
67 self._watcher = _ThreadedChildWatcher()
68
69 def close(self):
70 super().close()

Callers

nothing calls this directly

Calls 5

superClass · 0.85
can_use_pidfdFunction · 0.85
_PidfdChildWatcherClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected