Skip to content

Use of deprecated generic aliases in documentation #2083

@leostimpfle

Description

@leostimpfle

The documentation on Typing Python Libraries uses generic aliases (e.g., typing.List) in various places, e.g. here: https://typing.python.org/en/latest/guides/libraries.html#wide-vs-narrow-types

As generic aliases are deprecated, I was wondering if it would make sense to clean up this section to use, e.g., list[str] instead of typing.List[str]?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions