summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRafael Fontenelle <rffontenelle@users.noreply.github.com>2024-10-30 17:46:09 (GMT)
committerGitHub <noreply@github.com>2024-10-30 17:46:09 (GMT)
commit6f512c603465ff3e51e07cb7e1d36b4e5e88905d (patch)
treecc37cf663084e403672a31e71ea8a99bcf4b9f8d /Doc
parenta3443c0e22a8623afe4c0518433b28afbc3a6df6 (diff)
downloadcpython-6f512c603465ff3e51e07cb7e1d36b4e5e88905d.zip
cpython-6f512c603465ff3e51e07cb7e1d36b4e5e88905d.tar.gz
cpython-6f512c603465ff3e51e07cb7e1d36b4e5e88905d.tar.bz2
Fix incorrect indentation in importlib.metadata.rst (GH-126189)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.metadata.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/importlib.metadata.rst b/Doc/library/importlib.metadata.rst
index ddfc5c0..37cd237 100644
--- a/Doc/library/importlib.metadata.rst
+++ b/Doc/library/importlib.metadata.rst
@@ -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::