From: Saiyang Gou Date: Mon, 12 Oct 2020 23:34:33 +0000 (-0700) Subject: Fix typo in "Context manager types" section in typing.rst (GH-22676) X-Git-Tag: v3.10.0a2~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba06a70c822ede62688136add488eb78957689fe;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 --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 6111603a995c..5fb78bbde69b 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 ---------