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

Method cancelled

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

Source from the content-addressed store, hash-verified

124 return super().cancel()
125
126 def cancelled(self):
127 with self._lock:
128 return super().cancelled()
129
130 def _run(self):
131 # The event loop checks for cancellation without holding the lock

Callers

nothing calls this directly

Calls 2

superClass · 0.85
cancelledMethod · 0.45

Tested by

no test coverage detected