Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,10 @@ Task Object

Request the Task to be cancelled.

This arranges for a :exc:`CancelledError` exception to be thrown
If the Task is already *done* or *cancelled*, return ``False``,
otherwise, return ``True``.

The method arranges for a :exc:`CancelledError` exception to be thrown
into the wrapped coroutine on the next cycle of the event loop.

The coroutine then has a chance to clean up or even deny the
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,7 @@ Andreas Schawo
Neil Schemenauer
David Scherer
Wolfgang Scherer
Felix Scherz
Hynek Schlawack
Bob Schmertz
Gregor Schmid
Expand Down
Loading