We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa83911 commit 3da4499Copy full SHA for 3da4499
Doc/library/asyncio-future.rst
@@ -196,9 +196,9 @@ Future Object
196
Otherwise, change the Future's state to *cancelled*,
197
schedule the callbacks, and return ``True``.
198
199
- The optional argument *msg* is passed as the argument to the
+ The optional string argument *msg* is passed as the argument to the
200
:exc:`CancelledError` exception raised when a cancelled Future
201
- is awaited. It is typically a string.
+ is awaited.
202
203
.. versionchanged:: 3.9
204
Added the *msg* parameter.
0 commit comments