[Python-checkins] cpython: Fix :file: constructs in packaging.database docs
eric.araujo
python-checkins at python.org
Fri Jul 15 17:55:00 CEST 2011
http://hg.python.org/cpython/rev/acade94e5cea
changeset: 71341:acade94e5cea
user: Éric Araujo <merwok at netwok.org>
date: Fri Jul 15 17:48:20 2011 +0200
summary:
Fix :file: constructs in packaging.database docs
files:
Doc/library/packaging.database.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/packaging.database.rst b/Doc/library/packaging.database.rst
--- a/Doc/library/packaging.database.rst
+++ b/Doc/library/packaging.database.rst
@@ -33,7 +33,7 @@
.. method:: get_distinfo_file(path, binary=False)
Return a read-only file object for a file located at
- :file:`{project-version}.dist-info/path}`. *path* should be a
+ :file:`{project}-{version}.dist-info/{path}`. *path* should be a
``'/'``-separated path relative to the ``.dist-info`` directory or an
absolute path; if it is an absolute path and doesn't start with the path
to the :file:`.dist-info` directory, a :class:`PackagingError` is raised.
@@ -72,7 +72,7 @@
.. attribute:: metadata
Instance of :class:`packaging.metadata.Metadata` filled with the contents
- of the :file:`{project-version}.dist-info/METADATA` file.
+ of the :file:`{project}-{version}.dist-info/METADATA` file.
.. attribute:: name
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list