[Python-checkins] bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)

iritkatriel webhook-mailer at python.org
Wed May 12 20:27:16 EDT 2021


https://github.com/python/cpython/commit/6275ea02825731fd23f523058ac87aac53888740
commit: 6275ea02825731fd23f523058ac87aac53888740
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: iritkatriel <iritkatriel at yahoo.com>
date: 2021-05-13T01:27:08+01:00
summary:

bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086)

(cherry picked from commit 8ea350ee9055435c4267834cdaf85f1a2d4a1ed1)

Co-authored-by: Miguel Brito <5544985+miguendes at users.noreply.github.com>

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index c83daae302c19..173c1c285f01a 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -96,7 +96,7 @@ The following exceptions are used mostly as base classes for other exceptions.
       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:
              ...



More information about the Python-checkins mailing list