You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve MutableMapping.update's overloads to reflect relationship between key type and **kwargs #12456
The current overloads for MutableMapping.update() allow the use of keyword arguments even if the key type isn't str. I think it's possible to put a type hint on self so that keyword arguments only pass type checking when the key type is str, like this.
changed the title [-]Improve overloads for MutableMapping.update[/-][+]Improve MutableMapping.update's overloads to reflect relationship between key type and **kwargs[/+]on Jul 28, 2024
Activity
[-]Improve overloads for MutableMapping.update[/-][+]Improve MutableMapping.update's overloads to reflect relationship between key type and **kwargs[/+]AlexWaygood commentedon Aug 19, 2025
we did this in #14099, thanks!