Skip to content

Commit 2cfa1e6

Browse files
committed
minor doc fixes
1 parent 907f1d0 commit 2cfa1e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/asyncio-task.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,16 +344,16 @@ and reliable way to wait for all tasks in the group to finish.
344344

345345
.. method:: stop()
346346

347-
Stop the task group
347+
Stop the task group.
348348

349349
:meth:`~asyncio.Task.cancel` will be called on any tasks in the group that
350350
aren't yet done, as well as the parent (body) of the group. This will
351-
cause the task group context manager to exit *without* a
351+
cause the task group context manager to exit *without*
352352
:exc:`asyncio.CancelledError` being raised.
353353

354354
If :meth:`stop` is called before entering the task group, the group will be
355355
stopped upon entry. This is useful for patterns where one piece of
356-
code passes an unused TaskGroup instance to another in order to have
356+
code passes an unused :class:`asyncio.TaskGroup` instance to another in order to have
357357
the ability to stop anything run within the group.
358358

359359
:meth:`stop` is idempotent and may be called after the task group has

0 commit comments

Comments
 (0)