bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)
(cherry picked from commit 8ea350ee9055435c4267834cdaf85f1a2d4a1ed1)
Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index c83daae..173c1c2 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -96,7 +96,7 @@
instance of ``OtherException`` while preserving the traceback. Once
raised, the current frame is pushed onto the traceback of the
``OtherException``, as would have happened to the traceback of the
- original ``SomeException`` had we allowed it to propagate to the caller.
+ original ``SomeException`` had we allowed it to propagate to the caller. ::
try:
...