[3.11] gh-110383: Explained which error message is generated when there is an unhandled exception (GH-111574) (#112265)

Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-11-19 13:29:28 +01:00 committed by GitHub
parent e9a97c3bf9
commit 11b91be55b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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.