bpo-38103: fix conflicting labels in the docs. (GH-15906)
(cherry picked from commit 2d8d597bb8f882a7677db5a2739df0e617098634)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 638fb0c..f8e30a0 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -20,7 +20,7 @@
section. The fields will be described in the order in which they occur in the
structure.
-In addition to the following quick reference, the :ref:`examples`
+In addition to the following quick reference, the :ref:`typedef-examples`
section provides at-a-glance insight into the meaning and use of
:c:type:`PyTypeObject`.
@@ -2450,7 +2450,7 @@
.. c:type:: int (*objobjargproc)(PyObject *, PyObject *, PyObject *)
-.. _examples:
+.. _typedef-examples:
Examples
========
diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst
index 4ac552c..44f7083 100644
--- a/Doc/distutils/examples.rst
+++ b/Doc/distutils/examples.rst
@@ -1,8 +1,8 @@
.. _distutils_examples:
-********
-Examples
-********
+******************
+Distutils Examples
+******************
.. include:: ./_setuptools_disclaimer.rst