Skip to content
Prev Previous commit
Next Next commit
Fix Lint Issues by removing trailing whitespace
  • Loading branch information
Manoj committed Apr 9, 2026
commit 5f560fd89baadc100ba00dbc45b65180dc4eee26
6 changes: 2 additions & 4 deletions Doc/library/asyncio-future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,10 @@ Future Object
If the Future is already *done* or *cancelled*, return ``False``.
Otherwise, change the Future's state to *cancelled*,
schedule the callbacks, and return ``True``.

The optional argument *msg* is passed as the argument to the
:exc:`CancelledError` exception raised when a cancelled Future
is awaited.

It can be any object.
is awaited.It can be any object.
Comment thread
ZeroIntensity marked this conversation as resolved.
Outdated

.. versionchanged:: 3.9
Added the *msg* parameter.
Expand Down
Loading