Skip to content

Missing Deprecation Notice for typing.Callable Alias in the Deprecated Aliases section #106461

@ColemanDunn

Description

@ColemanDunn

Documentation

typing.Callable is not listed as a deprecated alias under https://docs.python.org/3/library/typing.html#deprecated-aliases.

However, it IS listed here: https://docs.python.org/3/library/typing.html#typing.Callable and states "Deprecated alias to collections.abc.Callable". But not having it anywhere in the Depricated Aliases section of the docs is confusing as the only depreciation notice lies outside of this section.

It seems like it could fit under this section: https://docs.python.org/3/library/typing.html#aliases-to-container-abcs-in-collections-abc as the language used in this section ("Deprecated alias to collections.abc.[...]") closely matches the language used callable depreciation notice, but I am not entirely sure it if fits the "container" description.

I suggest adding the deprecation notice to the Depricated Aliases section.

That is all! Thanks!

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions