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

Miss Skeleton (bot) webhook-mailer at python.org
Mon Oct 12 19:55:34 EDT 2020


https://github.com/python/cpython/commit/15ef19f7d7d703bba65da9e2c10fa7851049686a
commit: 15ef19f7d7d703bba65da9e2c10fa7851049686a
branch: 3.9
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-10-12T16:55:24-07:00
summary:

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 at 163.com>

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 108d2eeeaf41f..e8f34e44a0c0e 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
 ---------



More information about the Python-checkins mailing list