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

Method __init__

Lib/asyncio/events.py:118–120  ·  view source on GitHub ↗
(self, callback, args, loop, context=None)

Source from the content-addressed store, hash-verified

116 __slots__ = ('_lock',)
117
118 def __init__(self, callback, args, loop, context=None):
119 super().__init__(callback, args, loop, context)
120 self._lock = threading.RLock()
121
122 def cancel(self):
123 with self._lock:

Callers

nothing calls this directly

Calls 3

superClass · 0.85
RLockMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected