diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-11-19 12:29:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 12:29:24 (GMT) |
commit | dedbd266d3dbbf460651d132a5f1d61643d9e20d (patch) | |
tree | 5f06cef9a0920e31296b8acf24986bd6b67260ad /Doc/tutorial | |
parent | 5134f668b4054f99f317c1300a3c09c6a0e93ca7 (diff) | |
download | cpython-dedbd266d3dbbf460651d132a5f1d61643d9e20d.zip cpython-dedbd266d3dbbf460651d132a5f1d61643d9e20d.tar.gz cpython-dedbd266d3dbbf460651d132a5f1d61643d9e20d.tar.bz2 |
[3.12] gh-110383: Explained which error message is generated when there is an unhandled exception (GH-111574) (#112264)
Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/errors.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 1ec5976..4058ebe 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. |