Skip to content

Commit 3da4499

Browse files
author
Manoj
committed
Changed msg's explanation and made it shorter
1 parent fa83911 commit 3da4499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-future.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ Future Object
196196
Otherwise, change the Future's state to *cancelled*,
197197
schedule the callbacks, and return ``True``.
198198

199-
The optional argument *msg* is passed as the argument to the
199+
The optional string argument *msg* is passed as the argument to the
200200
:exc:`CancelledError` exception raised when a cancelled Future
201-
is awaited. It is typically a string.
201+
is awaited.
202202

203203
.. versionchanged:: 3.9
204204
Added the *msg* parameter.

0 commit comments

Comments
 (0)