diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-05 20:29:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 20:29:29 (GMT) |
commit | 98b2f4624a40eb374807842a7fb9d109375af99d (patch) | |
tree | 19e9db374ae5d41095338c1e120c7ddaf7245b8e | |
parent | 89878141edd23b8829d737cd2d92a1eaaa751c59 (diff) | |
download | cpython-98b2f4624a40eb374807842a7fb9d109375af99d.zip cpython-98b2f4624a40eb374807842a7fb9d109375af99d.tar.gz cpython-98b2f4624a40eb374807842a7fb9d109375af99d.tar.bz2 |
[3.11] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording (GH-114968) (#115034)
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>
-rw-r--r-- | Doc/library/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index d7c4a10..eed0ad1 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 |