Skip to content

Add docstrings to asyncio.TaskGroup #102560

Closed
@JosephSBoyle

Description

@JosephSBoyle

Python 3.11 added asyncio.TaskGroup[0]. We should encourage users of the language to use this class by adding docstrings and type-hinting, particularly since it has wide applications for users wishing to refactor their existing async code.

I'm happy to work on this but any suggestions for what the docstrings should include is welcome.

[0] https://docs.python.org/3/library/asyncio-task.html

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12bugs and security fixestopic-asynciotype-featureA feature request or enhancement

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions