Make self a positional-only argument in all update overloads (#15322)

This commit is contained in:
Felix Uhl
2026-01-24 23:51:47 +01:00
committed by GitHub
parent 35b688e98e
commit 84c2067451
+1 -1
View File
@@ -840,7 +840,7 @@ class MutableMapping(Mapping[_KT, _VT]):
@overload
def update(self: SupportsGetItem[str, _VT], m: Iterable[tuple[str, _VT]], /, **kwargs: _VT) -> None: ...
@overload
def update(self: SupportsGetItem[str, _VT], **kwargs: _VT) -> None: ...
def update(self: SupportsGetItem[str, _VT], /, **kwargs: _VT) -> None: ...
Text = str