Fix typo in "Context manager types" section in typing.rst (GH-22676)

Fix typo in the "Context manager types" section in `typing.rst`.

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

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
This commit is contained in:
Miss Skeleton (bot) 2020-10-12 16:55:24 -07:00 committed by GitHub
parent 1c217652b6
commit 15ef19f7d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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])
@ -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
---------