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

Method set_exception

Lib/asyncio/windows_events.py:162–164  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

160 return super().cancel(msg=msg)
161
162 def set_exception(self, exception):
163 self._unregister_wait()
164 super().set_exception(exception)
165
166 def set_result(self, result):
167 self._unregister_wait()

Callers

nothing calls this directly

Calls 3

_unregister_waitMethod · 0.95
superClass · 0.85
set_exceptionMethod · 0.45

Tested by

no test coverage detected