summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-06 05:51:30 (GMT)
committerGitHub <noreply@github.com>2023-07-06 05:51:30 (GMT)
commit84cda268bd2c65c99d2ff69731d83e694146de70 (patch)
tree18c43a1107ca184ca2bd964be88b2978b6a4481c
parent1e4c2359e4b88a237ca0ac7d1d0cac8411ba0278 (diff)
downloadcpython-84cda268bd2c65c99d2ff69731d83e694146de70.zip
cpython-84cda268bd2c65c99d2ff69731d83e694146de70.tar.gz
cpython-84cda268bd2c65c99d2ff69731d83e694146de70.tar.bz2
[3.12] Doc: Add missing ref labels to exception groups/notes sections (GH-106465) (#106473)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
-rw-r--r--Doc/library/exceptions.rst2
-rw-r--r--Doc/tutorial/errors.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 49ede20..d54c49f 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -871,6 +871,8 @@ The following exceptions are used as warning categories; see the
.. versionadded:: 3.2
+.. _lib-exception-groups:
+
Exception groups
----------------
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index ca5dc33..6419ff6 100644
--- a/Doc/tutorial/errors.rst
+++ b/Doc/tutorial/errors.rst
@@ -578,6 +578,8 @@ the following pattern::
...
+.. _tut-exception-notes:
+
Enriching Exceptions with Notes
===============================