From: Georg Brandl Date: Sun, 17 Jan 2010 23:33:53 +0000 (+0000) Subject: Fix internal reference. X-Git-Tag: v2.7a3~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42eaded701c1405f8e47051b4c3e050279fbc74a;p=thirdparty%2FPython%2Fcpython.git Fix internal reference. --- diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst index 35de57e4ad0e..60656e787d24 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 be58df358ad0..124f2472a920 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