]> granicus.if.org Git - python/commitdiff
Fix internal reference.
authorGeorg Brandl <georg@python.org>
Sun, 17 Jan 2010 23:33:53 +0000 (23:33 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 17 Jan 2010 23:33:53 +0000 (23:33 +0000)
Doc/distutils/examples.rst
Doc/whatsnew/2.7.rst

index 35de57e4ad0e6f33ce6cf93a419f4479884a3e7e..60656e787d24025d3e465348a79c06c1f21dbded 100644 (file)
@@ -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
index be58df358ad08fe3f6738b11d3e14b5f3f506bb1..124f2472a920bb86c15ac47f9001b5c65cd611b0 100644 (file)
@@ -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