From 15ef19f7d7d703bba65da9e2c10fa7851049686a Mon Sep 17 00:00:00 2001 From: "Miss Skeleton (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 12 Oct 2020 16:55:24 -0700 Subject: [PATCH] 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 --- Doc/library/typing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 108d2eeeaf4..e8f34e44a0c 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 ---------