summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 23:33:53 (GMT)
committerGeorg Brandl <georg@python.org>2010-01-17 23:33:53 (GMT)
commit42eaded701c1405f8e47051b4c3e050279fbc74a (patch)
tree6ed4c052715f9900b2b371521fba91486d6cf9ee
parent9481c576cd5e820f2a23b57481366f37df3dbbf9 (diff)
downloadcpython-42eaded701c1405f8e47051b4c3e050279fbc74a.zip
cpython-42eaded701c1405f8e47051b4c3e050279fbc74a.tar.gz
cpython-42eaded701c1405f8e47051b4c3e050279fbc74a.tar.bz2
Fix internal reference.
-rw-r--r--Doc/distutils/examples.rst5
-rw-r--r--Doc/whatsnew/2.7.rst4
2 files changed, 6 insertions, 3 deletions
diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst
index 35de57e..60656e7 100644
--- a/Doc/distutils/examples.rst
+++ b/Doc/distutils/examples.rst
@@ -285,8 +285,11 @@ by using the `docutils` parser::
warning: check: Title underline too short. (line 2)
warning: check: Could not finish the parsing.
+
+.. _reading-metadata:
+
Reading the metadata
-=====================
+====================
The :func:`distutils.core.setup` function provides a command-line interface
that allows you to query the metadata fields of a project through the
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index be58df3..124f247 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -612,8 +612,8 @@ changes, or look through the Subversion logs for all the details.
The :class:`distutils.dist.DistributionMetadata` class'
:meth:`read_pkg_file` method will read the contents of a package's
- :file:`PKG-INFO` metadata file. For an example of its use,
- XXX link to file:///MacDev/svn.python.org/python-trunk/Doc/build/html/distutils/examples.html#reading-the-metadata
+ :file:`PKG-INFO` metadata file. For an example of its use, see
+ :ref:`reading-metadata`.
(Contributed by Tarek Ziade; :issue:`7457`.)
:file:`setup.py` files will now accept a :option:`--no-user-cfg` switch