diff options
author | Éric Araujo <merwok@netwok.org> | 2011-07-15 15:48:20 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-07-15 15:48:20 (GMT) |
commit | dccf9855fcfde49f53dd454c83115d0aacc71e71 (patch) | |
tree | 9f80ae6ee09285718fbd6d139a441889fbfe0e04 /Doc/library/packaging.database.rst | |
parent | fe95848c161ac814dfba31e90ff5ddb89c99142f (diff) | |
download | cpython-dccf9855fcfde49f53dd454c83115d0aacc71e71.zip cpython-dccf9855fcfde49f53dd454c83115d0aacc71e71.tar.gz cpython-dccf9855fcfde49f53dd454c83115d0aacc71e71.tar.bz2 |
Fix :file: constructs in packaging.database docs
Diffstat (limited to 'Doc/library/packaging.database.rst')
-rw-r--r-- | 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 index 2a8c39f..5d0ff21 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 |