]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix incorrect indentation in importlib.metadata.rst (GH-126189) (GH-126194)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 30 Oct 2024 18:01:39 +0000 (19:01 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 18:01:39 +0000 (11:01 -0700)
Fix incorrect indentation in importlib.metadata.rst (GH-126189)
(cherry picked from commit 6f512c603465ff3e51e07cb7e1d36b4e5e88905d)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Doc/library/importlib.metadata.rst

index 14414d973f20c17fb2a1bcfc5424edefa91269d2..fe898cf4af8bd5cfa8ff52e6adac059b71ec8212 100644 (file)
@@ -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::