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

Method add_result

Lib/concurrent/futures/_base.py:93–95  ·  view source on GitHub ↗
(self, future)

Source from the content-addressed store, hash-verified

91 """Used by wait(return_when=FIRST_COMPLETED)."""
92
93 def add_result(self, future):
94 super().add_result(future)
95 self.event.set()
96
97 def add_exception(self, future):
98 super().add_exception(future)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_resultMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected