Skip to content

Commit

Permalink
Fix incorrect indentation in importlib.metadata.rst (pythonGH-126189)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6f512c6)

Co-authored-by: Rafael Fontenelle <[email protected]>
  • Loading branch information
rffontenelle authored and miss-islington committed Oct 30, 2024
1 parent 210bd2a commit 5b181cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/importlib.metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ Distribution metadata
.. class:: PackageMetadata

A concrete implementation of the
`PackageMetadata protocol <https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.PackageMetadata>`_.
`PackageMetadata protocol <https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.PackageMetadata>`_.

In addition to providing the defined protocol methods and attributes, subscripting
the instance is equivalent to calling the :meth:`!get` method.
In addition to providing the defined protocol methods and attributes, subscripting
the instance is equivalent to calling the :meth:`!get` method.

Every `Distribution Package <https://packaging.python.org/en/latest/glossary/#term-Distribution-Package>`_
includes some metadata, which you can extract using the :func:`!metadata` function::
Expand Down

0 comments on commit 5b181cc

Please sign in to comment.