]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change 'exception happened' to 'exception occurred' in two places (#19767)
authorNoah Doersing <doersino@gmail.com>
Fri, 1 May 2020 04:30:10 +0000 (06:30 +0200)
committerGitHub <noreply@github.com>
Fri, 1 May 2020 04:30:10 +0000 (21:30 -0700)
Doc/tutorial/errors.rst
Lib/socketserver.py

index ab23df9f3ff9aa5bf2ef15ef1c5b8327cca6c960..0ce96466e8c286913db59b8be607568a4bb3f18f 100644 (file)
@@ -67,7 +67,7 @@ The rest of the line provides detail based on the type of exception and what
 caused it.
 
 The preceding part of the error message shows the context where the exception
-happened, in the form of a stack traceback. In general it contains a stack
+occurred, in the form of a stack traceback. In general it contains a stack
 traceback listing source lines; however, it will not display lines read from
 standard input.
 
index 1ad028fa4d08ca338e0b66bc5e6c116957bacec5..57c1ae6e9e8be187f6ed31aea8236761bb3d600f 100644 (file)
@@ -374,7 +374,7 @@ class BaseServer:
 
         """
         print('-'*40, file=sys.stderr)
-        print('Exception happened during processing of request from',
+        print('Exception occurred during processing of request from',
             client_address, file=sys.stderr)
         import traceback
         traceback.print_exc()