Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
It is actually possible
  • Loading branch information
flying-sheep committed Jan 6, 2026
commit 26edf32f69b7ef60aa6528d68613ff95ba5cd638
4 changes: 2 additions & 2 deletions Doc/library/importlib.metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ Entry points
:meth:`!select` method for comparison to the attributes of
the individual entry point definitions.

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

.. class:: EntryPoints
Expand Down
Loading