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

Method add_exception

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

Source from the content-addressed store, hash-verified

122 self._decrement_pending_calls()
123
124 def add_exception(self, future):
125 super().add_exception(future)
126 if self.stop_on_exception:
127 self.event.set()
128 else:
129 self._decrement_pending_calls()
130
131 def add_cancelled(self, future):
132 super().add_cancelled(future)

Callers

nothing calls this directly

Calls 4

superClass · 0.85
add_exceptionMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected