[Python-checkins] Doc: Add missing ref labels to exception groups/notes sections (#106465)

hugovk webhook-mailer at python.org
Thu Jul 6 01:41:08 EDT 2023


https://github.com/python/cpython/commit/38aa89a52ed5194f70bbf07d699a2dd3720e2efd
commit: 38aa89a52ed5194f70bbf07d699a2dd3720e2efd
branch: main
author: C.A.M. Gerlach <CAM.Gerlach at Gerlach.CAM>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-07-05T23:41:04-06:00
summary:

Doc: Add missing ref labels to exception groups/notes sections (#106465)

files:
M Doc/library/exceptions.rst
M Doc/tutorial/errors.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 9e1335436ee87..4651eddf84370 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 ca5dc3314c63b..6419ff621f1b3 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
 ===============================
 



More information about the Python-checkins mailing list