Skip to content

Commit

Permalink
Fix typo in "Context manager types" section in typing.rst (GH-22676)
Browse files Browse the repository at this point in the history
Fix typo in the "Context manager types" section in `typing.rst`.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit ba06a70)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
  • Loading branch information
miss-islington and gousaiyang committed Oct 12, 2020
1 parent 1c21765 commit 15ef19f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/typing.rst
Expand Up @@ -1461,7 +1461,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 @@ -1471,7 +1471,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 comments on commit 15ef19f

Please sign in to comment.