summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarryLHW <123lhw321@gmail.com>2024-02-05 20:22:57 (GMT)
committerGitHub <noreply@github.com>2024-02-05 20:22:57 (GMT)
commit750489cc774df44daa2c0d23e8a404fe62be93d1 (patch)
treed6d1869979b30ff79b2b1cc7cf41166acff4e846
parentbcccf1fb63870c1b7f8abe246e27b7fff343abd7 (diff)
downloadcpython-750489cc774df44daa2c0d23e8a404fe62be93d1.zip
cpython-750489cc774df44daa2c0d23e8a404fe62be93d1.tar.gz
cpython-750489cc774df44daa2c0d23e8a404fe62be93d1.tar.bz2
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 <tjreedy@udel.edu>
-rw-r--r--Doc/library/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index f821776..3191315 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