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

Method _invoke_callbacks

Lib/concurrent/futures/_base.py:331–336  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

329 self._done_callbacks = []
330
331 def _invoke_callbacks(self):
332 for callback in self._done_callbacks:
333 try:
334 callback(self)
335 except Exception:
336 LOGGER.exception('exception calling callback for %r', self)
337
338 def __repr__(self):
339 with self._condition:

Callers 3

cancelMethod · 0.95
set_resultMethod · 0.95
set_exceptionMethod · 0.95

Calls 2

callbackFunction · 0.50
exceptionMethod · 0.45

Tested by

no test coverage detected