[Python-checkins] bpo-38103: fix conflicting labels in the docs. (GH-15906)

Lisa Roach webhook-mailer at python.org
Wed Sep 11 06:58:03 EDT 2019


https://github.com/python/cpython/commit/2d8d597bb8f882a7677db5a2739df0e617098634
commit: 2d8d597bb8f882a7677db5a2739df0e617098634
branch: master
author: Ezio Melotti <ezio.melotti at gmail.com>
committer: Lisa Roach <lisaroach14 at gmail.com>
date: 2019-09-11T11:57:59+01:00
summary:

bpo-38103: fix conflicting labels in the docs. (GH-15906)

files:
M Doc/c-api/typeobj.rst
M Doc/distutils/examples.rst

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 638fb0c32d78..f8e30a0380b9 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 4ac552c7c699..44f70831d0bf 100644
--- a/Doc/distutils/examples.rst
+++ b/Doc/distutils/examples.rst
@@ -1,8 +1,8 @@
 .. _distutils_examples:
 
-********
-Examples
-********
+******************
+Distutils Examples
+******************
 
 .. include:: ./_setuptools_disclaimer.rst
 



More information about the Python-checkins mailing list