]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-110383: Explained which error message is generated when there is an unhandled...
authorUnique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Sun, 19 Nov 2023 12:20:10 +0000 (17:50 +0530)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 12:20:10 +0000 (05:20 -0700)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/tutorial/errors.rst

index 1ec59767e9ce12918d286efeba1c73f0e4692b64..4058ebe8efdb42458307aca8e27e9277923c77df 100644 (file)
@@ -108,8 +108,7 @@ The :keyword:`try` statement works as follows.
 
 * If an exception occurs which does not match the exception named in the *except
   clause*, it is passed on to outer :keyword:`try` statements; if no handler is
-  found, it is an *unhandled exception* and execution stops with a message as
-  shown above.
+  found, it is an *unhandled exception* and execution stops with an error message.
 
 A :keyword:`try` statement may have more than one *except clause*, to specify
 handlers for different exceptions.  At most one handler will be executed.