[Python-checkins] Doc: fix a rst tag. (GH-26965)
JulienPalard
webhook-mailer at python.org
Wed Jun 30 05:31:36 EDT 2021
https://github.com/python/cpython/commit/86eeeb425936ba67d79f32bfbd5c5f8002819438
commit: 86eeeb425936ba67d79f32bfbd5c5f8002819438
branch: main
author: Julien Palard <julien at palard.fr>
committer: JulienPalard <julien at palard.fr>
date: 2021-06-30T11:31:04+02:00
summary:
Doc: fix a rst tag. (GH-26965)
files:
M Doc/library/contextlib.rst
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 7ac3856819593..38f619a66d6d8 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)
More information about the Python-checkins
mailing list