Skip to content

Commit

Permalink
[3.12] pythongh-114967: Fix "Built-in Exceptions" documentation ambig…
Browse files Browse the repository at this point in the history
…uous wording (pythonGH-114968) (python#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 750489c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: HarryLHW <123lhw321@gmail.com>
  • Loading branch information
miss-islington committed Feb 5, 2024
1 parent d334122 commit 21f06a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21f06a2

Please sign in to comment.