summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-06-30 09:31:04 (GMT)
committerGitHub <noreply@github.com>2021-06-30 09:31:04 (GMT)
commit86eeeb425936ba67d79f32bfbd5c5f8002819438 (patch)
tree3af8e5429ee68fce589d824459e54e0d87b56c38 /Doc/library/contextlib.rst
parent1d08d85cbe49c0748a8ee03aec31f89ab8e81496 (diff)
downloadcpython-86eeeb425936ba67d79f32bfbd5c5f8002819438.zip
cpython-86eeeb425936ba67d79f32bfbd5c5f8002819438.tar.gz
cpython-86eeeb425936ba67d79f32bfbd5c5f8002819438.tar.bz2
Doc: fix a rst tag. (GH-26965)
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 7ac3856..38f619a 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -515,9 +515,9 @@ Functions and classes provided:
These context managers may suppress exceptions just as they normally
would if used directly as part of a :keyword:`with` statement.
- ... versionchanged:: 3.11
- Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
- is not a context manager.
+ .. versionchanged:: 3.11
+ Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
+ is not a context manager.
.. method:: push(exit)
@@ -589,9 +589,9 @@ Functions and classes provided:
Similar to :meth:`enter_context` but expects an asynchronous context
manager.
- ... versionchanged:: 3.11
- Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
- is not an asynchronous context manager.
+ .. versionchanged:: 3.11
+ Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
+ is not an asynchronous context manager.
.. method:: push_async_exit(exit)