]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44030: Fix formatting error in exceptions docs (GH-25929)
authorMiguel Brito <5544985+miguendes@users.noreply.github.com>
Thu, 13 May 2021 00:11:36 +0000 (01:11 +0100)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 00:11:36 +0000 (01:11 +0100)
Doc/library/exceptions.rst

index c83daae302c19d5bab8259e18f46b66ac1c05908..173c1c285f01af2c39007d0a3257ed87d41b3008 100644 (file)
@@ -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:
              ...