-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
The definition of format_map indicates that the input is a Mapping[str, Any]
when a Mapping
is over-specified. format_map
only requires the __getitem__
interface of a Mapping
(not __iter__
nor __len__
). Requiring Mapping
forces someone writing an adapter to supply a full Mapping
implementation for no purpose.
Metadata
Metadata
Assignees
Labels
No labels