diff options
author | Anderson Bravalheri <andersonbravalheri+github@gmail.com> | 2022-06-11 11:08:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 11:08:44 +0100 |
commit | 262b96ecf8d10ef72b6b980791a5951382cb7da6 (patch) | |
tree | cc1fdb982186116afd5c30f166dc3bf54fd21a56 /docs/userguide | |
parent | ed31831f6ed886dc8d75f2a8e6a3a800e8682e00 (diff) | |
download | python-setuptools-git-262b96ecf8d10ef72b6b980791a5951382cb7da6.tar.gz |
Apply suggestions from code review
Diffstat (limited to 'docs/userguide')
-rw-r--r-- | docs/userguide/entry_point.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/userguide/entry_point.rst b/docs/userguide/entry_point.rst index cb3453d4..9dca3895 100644 --- a/docs/userguide/entry_point.rst +++ b/docs/userguide/entry_point.rst @@ -266,7 +266,7 @@ to customize it, we can do the following. Let us introduce a new *group* of entr named ``timmins.display``, and expect plugin packages implementing this entry point to supply a ``display()``-like function. Next, to be able to automatically discover plugin packages that implement this entry point, we can use the -`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_ module, +:mod:`importlib.metadata` module, as follows: .. code-block:: python @@ -466,7 +466,7 @@ importlib.metadata ------------------ The recommended approach for loading and importing entry points is the -`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_ module, +:mod:`importlib.metadata` module, which is a part of the standard library since Python 3.8. For older versions of Python, its backport :pypi:`importlib_metadata` should be used. While using the backport, the only change that has to be made is to replace ``importlib.metadata`` |