Skip to content

Commit f9c95d7

Browse files
Remove links to pkg_resources docs
1 parent fc5df4d commit f9c95d7

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ the metadata of an installed `Distribution Package <https://packaging.python.org
1818
such as its entry points
1919
or its top-level names (`Import Package <https://packaging.python.org/en/latest/glossary/#term-Import-Package>`_\s, modules, if any).
2020
Built in part on Python's import system, this library
21-
intends to replace similar functionality in the `entry point
22-
API`_ and `metadata API`_ of ``pkg_resources``. Along with
21+
intends to replace similar functionality in the entry point
22+
API and metadata API of ``pkg_resources``. Along with
2323
:mod:`importlib.resources`,
2424
this package can eliminate the need to use the older and less efficient
2525
``pkg_resources`` package.
@@ -717,7 +717,3 @@ packages served by the ``DatabaseImporter``, assuming that the
717717
The ``DatabaseDistribution`` may also provide other metadata files, like
718718
``RECORD`` (required for :attr:`!Distribution.files`) or override the
719719
implementation of :attr:`!Distribution.files`. See the source for more inspiration.
720-
721-
722-
.. _`entry point API`: https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points
723-
.. _`metadata API`: https://setuptools.readthedocs.io/en/latest/pkg_resources.html#metadata-api

Doc/library/importlib.resources.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ for example, a package and its resources can be imported from a zip file using
3333

3434
.. note::
3535

36-
This module provides functionality similar to `pkg_resources
37-
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html>`_ `Basic
38-
Resource Access
39-
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access>`_
40-
without the performance overhead of that package. This makes reading
41-
resources included in packages easier, with more stable and consistent
42-
semantics.
43-
4436
The standalone backport of this module provides more information
4537
on `using importlib.resources
4638
<https://importlib-resources.readthedocs.io/en/latest/using.html>`_ and

0 commit comments

Comments
 (0)