From: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com> Date: Sun, 19 Nov 2023 12:20:10 +0000 (+0530) Subject: gh-110383: Explained which error message is generated when there is an unhandled... X-Git-Tag: v3.13.0a2~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6d25de375087e27777ebc1c0bd106d532ef9083;p=thirdparty%2FPython%2Fcpython.git gh-110383: Explained which error message is generated when there is an unhandled exception (#111574) Co-authored-by: Hugo van Kemenade --- diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 1ec59767e9ce..4058ebe8efdb 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -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.