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

Method add_exception

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

Source from the content-addressed store, hash-verified

128 self._decrement_pending_calls()
129
130 def add_exception(self, future):
131 super().add_exception(future)
132 if self.stop_on_exception:
133 self.event.set()
134 else:
135 self._decrement_pending_calls()
136
137 def add_cancelled(self, future):
138 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