MCPcopy Index your code
hub / github.com/RustPython/RustPython / add_result

Method add_result

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

Source from the content-addressed store, hash-verified

97 """Used by wait(return_when=FIRST_COMPLETED)."""
98
99 def add_result(self, future):
100 super().add_result(future)
101 self.event.set()
102
103 def add_exception(self, future):
104 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