[Python-checkins] Fix typo in "Context manager types" section in typing.rst (GH-22676)
Saiyang Gou
webhook-mailer at python.org
Mon Oct 12 19:34:42 EDT 2020
https://github.com/python/cpython/commit/ba06a70c822ede62688136add488eb78957689fe
commit: ba06a70c822ede62688136add488eb78957689fe
branch: master
author: Saiyang Gou <gousaiyang at 163.com>
committer: GitHub <noreply at github.com>
date: 2020-10-12T16:34:33-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
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 6111603a995c5..5fb78bbde69b1 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
---------
More information about the Python-checkins
mailing list