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

Method add_exception

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

Source from the content-addressed store, hash-verified

78 self.event.set()
79
80 def add_exception(self, future):
81 with self.lock:
82 super(_AsCompletedWaiter, self).add_exception(future)
83 self.event.set()
84
85 def add_cancelled(self, future):
86 with self.lock:

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_exceptionMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected