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

Method set_exception

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

Source from the content-addressed store, hash-verified

187 self._done_callback(self)
188
189 def set_exception(self, exception):
190 super().set_exception(exception)
191 if self._done_callback is not None:
192 self._done_callback(self)
193
194
195class _WaitHandleFuture(_BaseWaitHandleFuture):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
set_exceptionMethod · 0.45

Tested by

no test coverage detected