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

Method cancel

Lib/test/test_asyncio/test_runners.py:222–223  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

220 self._task = asyncio.Task(coro, loop=loop, **kwargs)
221
222 def cancel(self, *args, **kwargs):
223 return self._task.cancel(*args, **kwargs)
224
225 def add_done_callback(self, *args, **kwargs):
226 return self._task.add_done_callback(*args, **kwargs)

Callers 1

subtaskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected