https://github.com/python/cpython/commit/21f06a22c022f3b620cc3000575ade5226956ef5
commit: 21f06a22c022f3b620cc3000575ade5226956ef5
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: terryjreedy <[email protected]>
date: 2024-02-05T20:30:38Z
summary:

[3.12] gh-114967: Fix "Built-in Exceptions" documentation ambiguous wording 
(GH-114968) (#115033)

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: Terry Jan Reedy <[email protected]>
Co-authored-by: HarryLHW <[email protected]>

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index d7c4a10d4983a3..eed0ad18b992e4 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to