Skip to content

Commit f175e2c

Browse files
committed
Prefer intersphinx to hardcoded importlib links
1 parent 02e28cd commit f175e2c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/pkg_resources.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ packages.
1212

1313
.. attention::
1414
Use of ``pkg_resources`` is deprecated in favor of
15-
`importlib.resources <https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources>`_,
16-
`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_,
17-
and their backports (:pypi:`importlib_resources`,
18-
:pypi:`importlib_metadata`).
15+
:mod:`importlib.resources`, :mod:`importlib.metadata`
16+
and their backports (:pypi:`importlib_resources`, :pypi:`importlib_metadata`).
1917
Users should refrain from new usage of ``pkg_resources`` and
2018
should work to port to importlib-based solutions.
2119

0 commit comments

Comments
 (0)