Skip to content

Commit ba06a70

Browse files
authored
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
1 parent 04b8631 commit ba06a70

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
@@ -1478,7 +1478,7 @@ Context manager types
14781478
.. versionadded:: 3.6.0
14791479

14801480
.. deprecated:: 3.9
1481-
:class:`collections.contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.
1481+
:class:`contextlib.AbstractContextManager` now supports ``[]``. See :pep:`585`.
14821482

14831483
.. class:: AsyncContextManager(Generic[T_co])
14841484

@@ -1488,7 +1488,7 @@ Context manager types
14881488
.. versionadded:: 3.6.2
14891489

14901490
.. deprecated:: 3.9
1491-
:class:`collections.contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.
1491+
:class:`contextlib.AbstractAsyncContextManager` now supports ``[]``. See :pep:`585`.
14921492

14931493
Protocols
14941494
---------

0 commit comments

Comments
 (0)