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

Method cancelled

Lib/asyncio/futures.py:185–187  ·  view source on GitHub ↗

Return True if the future was cancelled.

(self)

Source from the content-addressed store, hash-verified

183 self._loop.call_soon(callback, self, context=ctx)
184
185 def cancelled(self):
186 """Return True if the future was cancelled."""
187 return self._state == _CANCELLED
188
189 # Don't implement running(); see http://bugs.python.org/issue18699
190

Callers 7

_copy_future_stateFunction · 0.45
_call_check_cancelFunction · 0.45
_call_set_stateFunction · 0.45

Calls

no outgoing calls

Tested by 2