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

Method add_exception

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

Source from the content-addressed store, hash-verified

95 self.event.set()
96
97 def add_exception(self, future):
98 super().add_exception(future)
99 self.event.set()
100
101 def add_cancelled(self, future):
102 super().add_cancelled(future)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_exceptionMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected