]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (GH-11496...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Feb 2024 20:29:29 +0000 (21:29 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 20:29:29 +0000 (20:29 +0000)
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.
---------
(cherry picked from commit 750489cc774df44daa2c0d23e8a404fe62be93d1)
Co-authored-by: HarryLHW <123lhw321@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/exceptions.rst

index d7c4a10d4983a3f25382a6fd37e70a6130bdbdf6..eed0ad18b992e483a8684effeac205b454edd8a0 100644 (file)
@@ -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