summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-07-15 17:48:20 +0200
committerÉric Araujo <merwok@netwok.org>2011-07-15 17:48:20 +0200
commitae7ed24090841dcfdcae4378f41d57532dc29c39 (patch)
tree426fe9ddcda66c46d76a50db0419e51f92c29ba3 /Doc
parent33185867c2d50a5b61cf06bdd68fe287d251e3b2 (diff)
downloadcpython-ae7ed24090841dcfdcae4378f41d57532dc29c39.tar.gz
Fix :file: constructs in packaging.database docs
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/packaging.database.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/packaging.database.rst b/Doc/library/packaging.database.rst
index 2a8c39f92c..5d0ff216d9 100644
--- a/Doc/library/packaging.database.rst
+++ b/Doc/library/packaging.database.rst
@@ -33,7 +33,7 @@ Classes representing installed distributions
.. 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 @@ Classes representing installed distributions
.. 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