File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1381,7 +1381,10 @@ Task Object
1381
1381
1382
1382
Request the Task to be cancelled.
1383
1383
1384
- This arranges for a :exc: `CancelledError ` exception to be thrown
1384
+ If the Task is already *done * or *cancelled *, return ``False ``,
1385
+ otherwise, return ``True ``.
1386
+
1387
+ The method arranges for a :exc: `CancelledError ` exception to be thrown
1385
1388
into the wrapped coroutine on the next cycle of the event loop.
1386
1389
1387
1390
The coroutine then has a chance to clean up or even deny the
Original file line number Diff line number Diff line change @@ -1663,6 +1663,7 @@ Andreas Schawo
1663
1663
Neil Schemenauer
1664
1664
David Scherer
1665
1665
Wolfgang Scherer
1666
+ Felix Scherz
1666
1667
Hynek Schlawack
1667
1668
Bob Schmertz
1668
1669
Gregor Schmid
You can’t perform that action at this time.
0 commit comments