Skip to content

Commit 26edf32

Browse files
committed
It is actually possible
1 parent e99c7fb commit 26edf32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ Entry points
125125
:meth:`!select` method for comparison to the attributes of
126126
the individual entry point definitions.
127127

128-
Note: it is not currently possible to query for entry points based on
129-
their :attr:`!EntryPoint.dist` attribute (as different :class:`!Distribution`
128+
Note: to query for entry points based on :attr:`!EntryPoint.dist` attribute,
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

0 commit comments

Comments
 (0)