From: HarryLHW <123lhw321@gmail.com> Date: Mon, 5 Feb 2024 20:22:57 +0000 (+0800) Subject: gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (#114968) X-Git-Tag: v3.13.0a4~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=750489cc774df44daa2c0d23e8a404fe62be93d1;p=thirdparty%2FPython%2Fcpython.git gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (#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 --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index f821776c2861..3191315049ad 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