mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
Make self a positional-only argument in all update overloads (#15322)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user