summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 05:28:06 -0700
committerGitHub <noreply@github.com>2019-09-11 05:28:06 -0700
commite0dd713370f94d0f4a59604cc769e0cc643b7740 (patch)
tree95992a54223416cccc6b290183332a5875da9552
parent44e36e80456dabaeb59c6e2a93e0c1322bfeb179 (diff)
downloadcpython-git-e0dd713370f94d0f4a59604cc769e0cc643b7740.tar.gz
bpo-38103: fix conflicting labels in the docs. (GH-15906)
(cherry picked from commit 2d8d597bb8f882a7677db5a2739df0e617098634) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
-rw-r--r--Doc/c-api/typeobj.rst4
-rw-r--r--Doc/distutils/examples.rst6
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 638fb0c32d..f8e30a0380 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -20,7 +20,7 @@ functionality. The fields of the type object are examined in detail in this
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 @@ Slot Type typedefs
.. c:type:: int (*objobjargproc)(PyObject *, PyObject *, PyObject *)
-.. _examples:
+.. _typedef-examples:
Examples
========
diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst
index 4ac552c7c6..44f70831d0 100644
--- a/Doc/distutils/examples.rst
+++ b/Doc/distutils/examples.rst
@@ -1,8 +1,8 @@
.. _distutils_examples:
-********
-Examples
-********
+******************
+Distutils Examples
+******************
.. include:: ./_setuptools_disclaimer.rst