Skip to content
Open
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
7 changes: 3 additions & 4 deletions Doc/library/concurrent.futures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,9 @@ The :class:`Future` class encapsulates the asynchronous execution of a callable.

.. method:: cancel()

Attempt to cancel the call. If the call is currently being executed or
finished running and cannot be cancelled then the method will return
``False``, otherwise the call will be cancelled and the method will
return ``True``.
Attempt to cancel the call. Return ``False`` if the call cannot be
cancelled because it is already running or has finished. Otherwise, cancel
the call and return ``True``.

.. method:: cancelled()

Expand Down
Loading