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

Method cancel

Lib/asyncio/windows_events.py:158–160  ·  view source on GitHub ↗
(self, msg=None)

Source from the content-addressed store, hash-verified

156 self._unregister_wait_cb(None)
157
158 def cancel(self, msg=None):
159 self._unregister_wait()
160 return super().cancel(msg=msg)
161
162 def set_exception(self, exception):
163 self._unregister_wait()

Callers

nothing calls this directly

Calls 3

_unregister_waitMethod · 0.95
superClass · 0.85
cancelMethod · 0.45

Tested by

no test coverage detected