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
13811381
13821382 Request the Task to be cancelled.
13831383
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
13851388 into the wrapped coroutine on the next cycle of the event loop.
13861389
13871390 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
16631663Neil Schemenauer
16641664David Scherer
16651665Wolfgang Scherer
1666+ Felix Scherz
16661667Hynek Schlawack
16671668Bob Schmertz
16681669Gregor Schmid
You can’t perform that action at this time.
0 commit comments