10000 Fix typo in "Context manager types" section in typing.rst by gousaiyang · Pull Request #22676 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Fix typo in "Context manager types" section in typing.rst #22676

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
Changes from all commits
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
< F47F div class="d-flex flex-justify-center">
Diff view
Fix typo in "Context manager types" section in typing.rst
  • Loading branch information
gousaiyang committed Oct 12, 2020
commit b626a46b0582d0a9596dc746e62655e41910fa45
4 changes: 2 additions & 2 deletions Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ Context manager types
.. versionadded:: 3.6.0

.. deprecated:: 3.9
:class:`collections.contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.
:class:`contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.

.. class:: AsyncContextManager(Generic[T_co])

Expand All @@ -1488,7 +1488,7 @@ Context manager types
.. versionadded:: 3.6.2

.. deprecated:: 3.9
:class:`collections.contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.
:class:`contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.

Protocols
---------
Expand Down
0