summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-12 23:55:24 (GMT)
committerGitHub <noreply@github.com>2020-10-12 23:55:24 (GMT)
commit15ef19f7d7d703bba65da9e2c10fa7851049686a (patch)
treec35c02d76ef39d917f9ec86e5c281fca02ebc2ef
parent1c217652b690c184b43d8e2b6529a60a14e64328 (diff)
downloadcpython-15ef19f7d7d703bba65da9e2c10fa7851049686a.zip
cpython-15ef19f7d7d703bba65da9e2c10fa7851049686a.tar.gz
cpython-15ef19f7d7d703bba65da9e2c10fa7851049686a.tar.bz2
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 ba06a70c822ede62688136add488eb78957689fe) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
-rw-r--r--Doc/library/typing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 108d2ee..e8f34e4 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -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
---------