Skip to content

Commit 5b9817d

Browse files
committed
Document the new behavior
1 parent 159a057 commit 5b9817d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/asyncio-task.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ no new tasks may be added to the group.
320320
The first time any of the tasks belonging to the group fails
321321
with an exception other than :exc:`asyncio.CancelledError`,
322322
the remaining tasks in the group are cancelled.
323+
No further tasks can then be added to the group.
323324
At this point, if the body of the ``async with`` statement is still active
324325
(i.e., :meth:`~object.__aexit__` hasn't been called yet),
325326
the task directly containing the ``async with`` statement is also cancelled.

0 commit comments

Comments
 (0)