Skip to content

Commit 561328d

Browse files
committed
link where it makes sense
1 parent 26edf32 commit 561328d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Entry points
126126
the individual entry point definitions.
127127

128128
Note: to query for entry points based on :attr:`!EntryPoint.dist` attribute,
129-
use :meth:`!Distribution.entry_points` instead (as different :class:`!Distribution`
129+
use :meth:`Distribution.entry_points` instead (as different :class:`Distribution`
130130
instances do not currently compare equal, even if they have the same attributes)
131131

132132
.. class:: EntryPoints
@@ -413,7 +413,7 @@ Distributions
413413
=============
414414

415415
While the module level API described above is the most common and convenient usage,
416-
you can get all of that information from the :class:`!Distribution` class.
416+
you can get all of that information from the :class:`Distribution` class.
417417
:class:`!Distribution` is an abstract object that represents the metadata for
418418
a Python `Distribution Package <https://packaging.python.org/en/latest/glossary/#term-Distribution-Package>`_.
419419
You can get the concrete :class:`!Distribution` subclass instance for an installed
@@ -433,7 +433,7 @@ distribution package by calling the :func:`distribution` function::
433433
package is not installed in the current Python environment.
434434

435435
Thus, an alternative way to get e.g. the version number is through the
436-
:attr:`!Distribution.version` attribute::
436+
:attr:`Distribution.version` attribute::
437437

438438
>>> dist.version # doctest: +SKIP
439439
'0.32.3'
@@ -456,7 +456,7 @@ The same applies for :func:`entry_points` and :func:`files`.
456456

457457
.. classmethod:: discover(*, context=None, **kwargs)
458458

459-
Returns an iterable of :class:`Distribution` instances for all packages
459+
Returns an iterable of :class:`!Distribution` instances for all packages
460460
(see distribution-discovery_).
461461

462462
The optional argument *context* is a :class:`DistributionFinder.Context`

0 commit comments

Comments
 (0)