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

Method cancel

Lib/asyncio/events.py:122–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 self._lock = threading.RLock()
121
122 def cancel(self):
123 with self._lock:
124 return super().cancel()
125
126 def cancelled(self):
127 with self._lock:

Callers

nothing calls this directly

Calls 2

superClass · 0.85
cancelMethod · 0.45

Tested by

no test coverage detected