Skip to content

Commit 6412478

Browse files
committed
Update documentation to reflect required interface for Distribution subclasses. Ref #105.
1 parent d9a5f95 commit 6412478

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

importlib_metadata/docs/using.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ properties indicating the path to search and names to match and may
232232
supply other relevant context.
233233

234234
What this means in practice is that to support finding distribution package
235-
metadata in locations other than the file system, you should derive from
236-
``Distribution`` and implement the ``load_metadata()`` method. Then from
237-
your finder, return instances of this derived ``Distribution`` in the
235+
metadata in locations other than the file system, subclass
236+
``Distribution`` and implement the abstract methods. Then from
237+
a custom finder, return instances of this derived ``Distribution`` in the
238238
``find_distributions()`` method.
239239

240240

0 commit comments

Comments
 (0)