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
This commit is contained in:
Saiyang Gou 2020-10-12 16:34:33 -07:00 committed by GitHub
parent 04b8631d84
commit ba06a70c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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