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 @@ -1336,7 +1336,10 @@ Task Object
1336
1336
1337
1337
Request the Task to be cancelled.
1338
1338
1339
- This arranges for a :exc: `CancelledError ` exception to be thrown
1339
+ If the Task is already *done * or *cancelled *, return ``False ``,
1340
+ otherwise, return ``True ``.
1341
+
1342
+ The method arranges for a :exc: `CancelledError ` exception to be thrown
1340
1343
into the wrapped coroutine on the next cycle of the event loop.
1341
1344
1342
1345
The coroutine then has a chance to clean up or even deny the
Original file line number Diff line number Diff line change @@ -1644,6 +1644,7 @@ Andreas Schawo
1644
1644
Neil Schemenauer
1645
1645
David Scherer
1646
1646
Wolfgang Scherer
1647
+ Felix Scherz
1647
1648
Hynek Schlawack
1648
1649
Bob Schmertz
1649
1650
Gregor Schmid
You can’t perform that action at this time.
0 commit comments