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

Method set_exception

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

Source from the content-addressed store, hash-verified

86 return super().cancel(msg=msg)
87
88 def set_exception(self, exception):
89 super().set_exception(exception)
90 self._cancel_overlapped()
91
92 def set_result(self, result):
93 super().set_result(result)

Callers 4

set_exceptionMethod · 0.45
set_exceptionMethod · 0.45
_registerMethod · 0.45
_pollMethod · 0.45

Calls 2

_cancel_overlappedMethod · 0.95
superClass · 0.85

Tested by

no test coverage detected