MCPcopy Create free account
hub / github.com/python/cpython / add_cancelled

Method add_cancelled

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

Source from the content-addressed store, hash-verified

129 self._decrement_pending_calls()
130
131 def add_cancelled(self, future):
132 super().add_cancelled(future)
133 self._decrement_pending_calls()
134
135class _AcquireFutures(object):
136 """A context manager that does an ordered acquire of Future conditions."""

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_cancelledMethod · 0.45

Tested by

no test coverage detected