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 40ed4cd commit 5f560fdCopy full SHA for 5f560fd
Doc/library/asyncio-future.rst
@@ -195,12 +195,10 @@ Future Object
195
If the Future is already *done* or *cancelled*, return ``False``.
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
200
:exc:`CancelledError` exception raised when a cancelled Future
201
- is awaited.
202
203
- It can be any object.
+ is awaited.It can be any object.
204
205
.. versionchanged:: 3.9
206
Added the *msg* parameter.
0 commit comments