Skip to content

Commit e806bc9

Browse files
committed
signature convention
1 parent cc5a37e commit e806bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/importlib.metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ The same applies for :func:`entry_points` and :func:`files`.
454454
Return a :class:`!Distribution` instance at the given path or
455455
with the given name.
456456

457-
.. classmethod:: discover(*, context: Context | None, **kwargs)
457+
.. classmethod:: discover(*, context=None, **kwargs)
458458

459459
Returns an iterable of :class:`Distribution` instances for all packages
460460
(see distribution-discovery_).

0 commit comments

Comments
 (0)