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

Skip to content
Prev Previous commit
Next Next commit
signature convention
  • Loading branch information
flying-sheep committed Jan 6, 2026
commit e806bc97f8a2567c43b5f5304fcd931ede343b52
2 changes: 1 addition & 1 deletion Doc/library/importlib.metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ The same applies for :func:`entry_points` and :func:`files`.
Return a :class:`!Distribution` instance at the given path or
with the given name.

.. classmethod:: discover(*, context: Context | None, **kwargs)
.. classmethod:: discover(*, context=None, **kwargs)

Returns an iterable of :class:`Distribution` instances for all packages
(see distribution-discovery_).
Expand Down
Loading