[3.12] Fix incorrect indentation in importlib.metadata.rst (GH-126189) (GH-126194)
https://github.com/python/cpython/commit/76c800f751166557c91b7180555840e5731... commit: 76c800f751166557c91b7180555840e57310095b branch: 3.12 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: willingc <carolcode@willingconsulting.com> date: 2024-10-30T11:01:39-07:00 summary: [3.12] Fix incorrect indentation in importlib.metadata.rst (GH-126189) (GH-126194) Fix incorrect indentation in importlib.metadata.rst (GH-126189) (cherry picked from commit 6f512c603465ff3e51e07cb7e1d36b4e5e88905d) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> files: M Doc/library/importlib.metadata.rst diff --git a/Doc/library/importlib.metadata.rst b/Doc/library/importlib.metadata.rst index 14414d973f20c1..fe898cf4af8bd5 100644 --- a/Doc/library/importlib.metadata.rst +++ b/Doc/library/importlib.metadata.rst @@ -227,10 +227,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::
participants (1)
-
willingc