8000 Fix typo in "Context manager types" section in typing.rst (GH-22676) · python/cpython@15ef19f · GitHub
[go: up one dir, main page]

Skip to content

Commit 15ef19f

Browse files
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 ba06a70) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
1 parent 1c21765 commit 15ef19f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/typing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ Context manager types
14611461
.. versionadded:: 3.6.0
14621462

14631463
.. deprecated:: 3.9
1464-
:class:`collections.contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.
1464+
:class:`contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.
14651465

14661466
.. class:: AsyncContextManager(Generic[T_co])
14671467

@@ -1471,7 +1471,7 @@ Context manager types
14711471
.. versionadded:: 3.6.2
14721472

14731473
.. deprecated:: 3.9
1474-
:class:`collections.contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.
1474+
:class:`contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.
14751475

14761476
Protocols
14771477
---------

0 commit comments

Comments
 (0)
0