Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove deprecated alias to typing.Callable from collections.abc r…
…eference
  • Loading branch information
sterliakov committed Sep 1, 2024
commit dfa85647a06bca4fe9b717343f0ad0d2ca7d9a12
8 changes: 4 additions & 4 deletions Doc/library/collections.abc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Collections Abstract Base Classes -- Detailed Descriptions
ABC for classes that provide the :meth:`~object.__call__` method.

See :ref:`annotating-callables` for details on how to use
Comment thread
AlexWaygood marked this conversation as resolved.
:class:`Callable` and :class:`~typing.Callable` in type annotations.
:class:`!Callable` in type annotations.

.. class:: Iterable

Expand Down Expand Up @@ -255,7 +255,7 @@ Collections Abstract Base Classes -- Detailed Descriptions

Refer to
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
Comment thread
AlexWaygood marked this conversation as resolved.
Outdated
for details on using this class in type annotations.
for details on using :class:`!Generator` in type annotations.

.. versionadded:: 3.5

Expand Down Expand Up @@ -330,7 +330,7 @@ Collections Abstract Base Classes -- Detailed Descriptions

Refer to
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
for details on using this class in type annotations.
for details on using :class:`!Coroutine` in type annotations.
The variance and order of type parameters correspond to those of
:class:`Generator`.

Expand All @@ -357,7 +357,7 @@ Collections Abstract Base Classes -- Detailed Descriptions

Refer to
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
for details on using this class in type annotations.
for details on using :class:`!AsyncGenerator` in type annotations.

.. versionadded:: 3.6

Expand Down