8000 gh-110383: Explained which error message is generated when there is a… · python/cpython@a6d25de · GitHub
[go: up one dir, main page]

Skip to content

Commit a6d25de

Browse files
Unique-Usmanhugovk
andauthored
gh-110383: Explained which error message is generated when there is an unhandled exception (#111574)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent 6bf8f20 commit a6d25de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/tutorial/errors.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ The :keyword:`try` statement works as follows.
108108

109109
* If an exception occurs which does not match the exception named in the *except
110110
clause*, it is passed on to outer :keyword:`try` statements; if no handler is
111-
found, it is an *unhandled exception* and execution stops with a message as
112-
shown above.
111+
found, it is an *unhandled exception* and execution stops with an error message.
113112

114113
A :keyword:`try` statement may have more than one *except clause*, to specify
115114
handlers for different exceptions. At most one handler will be executed.

0 commit comments

Comments
 (0)
0