Skip to content

Commit 11fb51d

Browse files
committed
Add link to custom providers from DistributionFinder.Context
1 parent 435f5cc commit 11fb51d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Distribution metadata
226226
Raises :exc:`PackageNotFoundError` if the named distribution
227227
package is not installed in the current Python environment.
228228

229+
229230
.. class:: PackageMetadata
230231

231232
A concrete implementation of the
@@ -503,6 +504,8 @@ This metadata finder search defaults to ``sys.path``, but varies slightly in how
503504
attempt to honor the canonical parameters defined below when
504505
appropriate.
505506

507+
See the section on :ref:`implementing-custom-providers` for more details.
508+
506509
.. attribute:: name
507510

508511
Specific name for which a distribution finder should match.
@@ -528,6 +531,7 @@ This metadata finder search defaults to ``sys.path``, but varies slightly in how
528531
:class:`!DistributionFinder.Context` is used to modify the search for
529532
distributions.
530533

534+
.. _implementing-custom-providers:
531535

532536
Implementing Custom Providers
533537
=============================

0 commit comments

Comments
 (0)