From 26feb257721aa6734ae75f06f1b5ae7747795d51 Mon Sep 17 00:00:00 2001 From: HarryLHW <123lhw321@gmail.com> Date: Tue, 6 Feb 2024 04:22:57 +0800 Subject: [PATCH] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (GH-114968) Change the somewhat vague "listed below" to "listed in this chapter" in Doc/library/exceptions.rst. The exceptions are listed in multiple sections after two intermediate sections. --------- Co-authored-by: Terry Jan Reedy (cherry picked from commit 750489cc774df44daa2c0d23e8a404fe62be93d1) Co-authored-by: HarryLHW <123lhw321@gmail.com> --- 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 d7c4a10d4983a3..eed0ad18b992e4 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 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