mirror of
https://github.com/python/cpython.git
synced 2025-10-27 08:46:53 +00:00
Fix :file: constructs in packaging.database docs
This commit is contained in:
parent
fe95848c16
commit
dccf9855fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue