Skip to content

Commit 86eeeb4

Browse files
authored
Doc: fix a rst tag. (GH-26965)
1 parent 1d08d85 commit 86eeeb4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/contextlib.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ Functions and classes provided:
515515
These context managers may suppress exceptions just as they normally
516516
would if used directly as part of a :keyword:`with` statement.
517517

518-
... versionchanged:: 3.11
519-
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
520-
is not a context manager.
518+
.. versionchanged:: 3.11
519+
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
520+
is not a context manager.
521521

522522
.. method:: push(exit)
523523

@@ -589,9 +589,9 @@ Functions and classes provided:
589589
Similar to :meth:`enter_context` but expects an asynchronous context
590590
manager.
591591

592-
... versionchanged:: 3.11
593-
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
594-
is not an asynchronous context manager.
592+
.. versionchanged:: 3.11
593+
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
594+
is not an asynchronous context manager.
595595

596596
.. method:: push_async_exit(exit)
597597

0 commit comments

Comments
 (0)