10000 gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs by sterliakov · Pull Request #123544 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-123523: Rework typing documentation for generators and coroutines, and link to it from collections.abc docs #123544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
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
s/details of/details on/g
  • Loading branch information
sterliakov committed Sep 1, 2024
commit c827599d5fd5ee02e1ca27ad3ed65a8935ba76fa
6 changes: 3 additions & 3 deletions Doc/library/collections.abc.rst
10000
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Collections Abstract Base Classes -- Detailed Descriptions

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

.. versionadded:: 3.5

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

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

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

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

.. versionadded:: 3.6

Expand Down
6 changes: 3 additions & 3 deletions Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3690,7 +3690,7 @@ Aliases to asynchronous ABCs in :mod:`collections.abc`

See
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
for details of using :class:`collections.abc.Coroutine` and this class
for details on using :class:`collections.abc.Coroutine` and this class
in type annotations.

.. versionadded:: 3.5.3
Expand All @@ -3705,7 +3705,7 @@ Aliases to asynchronous ABCs in :mod:`collections.abc`

See
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
for details of using :class:`collections.abc.AsyncGenerator` and this class
for details on using :class:`collections.abc.AsyncGenerator` and this class
in type annotations.

.. versionadded:: 3.6.1
Expand Down Expand Up @@ -3790,7 +3790,7 @@ Aliases to other ABCs in :mod:`collections.abc`

See
:ref:`annotating generators and coroutines <annotating-generators-and-coroutines>`
for details of using :class:`collections.abc.Generator` and this class
for details on using :class:`collections.abc.Generator` and this class
in type annotations.

.. deprecated:: 3.9
Expand Down
0