From: Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 12 Oct 2020 23:55:24 +0000 (-0700) Subject: Fix typo in "Context manager types" section in typing.rst (GH-22676) X-Git-Tag: v3.9.1rc1~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15ef19f7d7d703bba65da9e2c10fa7851049686a;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 108d2eeeaf41..e8f34e44a0c0 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 ---------