Skip to content

Commit fa31c0f

Browse files
committed
Init
1 parent fb9e292 commit fa31c0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,11 @@ Distributions
410410
Raises :exc:`PackageNotFoundError` if the named distribution
411411
package is not installed in the current Python environment.
412412

413+
.. function:: distributions()
414+
415+
Return an iterable of all :class:`Distribution` instances
416+
in the current environment.
417+
413418
.. class:: Distribution
414419

415420
Details of an installed distribution package.

0 commit comments

Comments
 (0)