]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (#114968)
authorHarryLHW <123lhw321@gmail.com>
Mon, 5 Feb 2024 20:22:57 +0000 (04:22 +0800)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 20:22:57 +0000 (15:22 -0500)
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 <tjreedy@udel.edu>
Doc/library/exceptions.rst

index f821776c28613313f3616f4a037ce202f27095cf..3191315049ad5a43ea9e7e3bd68322b1ce2337c0 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