From a74e70cff118248e6f748373e7683e45c4c70cdc Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Thu, 6 Jul 2023 00:41:04 -0500 Subject: [PATCH] Doc: Add missing ref labels to exception groups/notes sections (GH-106465) (cherry picked from commit 38aa89a52ed5194f70bbf07d699a2dd3720e2efd) Co-authored-by: C.A.M. Gerlach --- Doc/library/exceptions.rst | 2 ++ Doc/tutorial/errors.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 49ede20070d8af..d54c49fff6b62a 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 ca5dc3314c63b6..6419ff621f1b31 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 ===============================