From df937e89a3cdbea596da28bbf76d482f03fc25ef Mon Sep 17 00:00:00 2001 From: Haowei Liang <123lhw321@gmail.com> Date: Sun, 4 Feb 2024 01:51:08 +0800 Subject: [PATCH 1/2] change "listed below" to "listed in the document" --- Doc/library/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index f821776c286133..e65f0cc4dbf1c4 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -16,7 +16,7 @@ equivalent, even if they have the same name. .. index:: pair: statement; raise -The built-in exceptions listed below can be generated by the interpreter or +The built-in exceptions listed in this document can be generated by the interpreter or built-in functions. Except where mentioned, they have an "associated value" indicating the detailed cause of the error. This may be a string or a tuple of several items of information (e.g., an error code and a string explaining the From e8a20e1cbf679c5137c7ad0d7c321ea118678274 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 3 Feb 2024 14:53:34 -0500 Subject: [PATCH 2/2] Update Doc/library/exceptions.rst --- Doc/library/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index e65f0cc4dbf1c4..3191315049ad5a 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -16,7 +16,7 @@ equivalent, even if they have the same name. .. index:: pair: statement; raise -The built-in exceptions listed in this document can be generated by the interpreter or +The built-in exceptions listed in this chapter can be generated by the interpreter or built-in functions. Except where mentioned, they have an "associated value" indicating the detailed cause of the error. This may be a string or a tuple of several items of information (e.g., an error code and a string explaining the