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

Method set_result

Lib/asyncio/windows_events.py:166–168  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

164 super().set_exception(exception)
165
166 def set_result(self, result):
167 self._unregister_wait()
168 super().set_result(result)
169
170
171class _WaitCancelFuture(_BaseWaitHandleFuture):

Callers

nothing calls this directly

Calls 3

_unregister_waitMethod · 0.95
superClass · 0.85
set_resultMethod · 0.45

Tested by

no test coverage detected