@@ -5,7 +5,7 @@ import collections # noqa: F401 # pyright: ignore[reportUnusedImport]
55import sys
66import typing_extensions
77from _collections_abc import dict_items , dict_keys , dict_values
8- from _typeshed import IdentityFunction , ReadableBuffer , SupportsGetItemViewable , SupportsKeysAndGetItem , Viewable
8+ from _typeshed import IdentityFunction , ReadableBuffer , SupportsGetItem , SupportsGetItemViewable , SupportsKeysAndGetItem , Viewable
99from abc import ABCMeta , abstractmethod
1010from re import Match as Match , Pattern as Pattern
1111from types import (
@@ -801,13 +801,13 @@ class MutableMapping(Mapping[_KT, _VT]):
801801 @overload
802802 def update (self , m : SupportsKeysAndGetItem [_KT , _VT ], / ) -> None : ...
803803 @overload
804- def update (self : Mapping [str , _VT ], m : SupportsKeysAndGetItem [str , _VT ], / , ** kwargs : _VT ) -> None : ...
804+ def update (self : SupportsGetItem [str , _VT ], m : SupportsKeysAndGetItem [str , _VT ], / , ** kwargs : _VT ) -> None : ...
805805 @overload
806806 def update (self , m : Iterable [tuple [_KT , _VT ]], / ) -> None : ...
807807 @overload
808- def update (self : Mapping [str , _VT ], m : Iterable [tuple [str , _VT ]], / , ** kwargs : _VT ) -> None : ...
808+ def update (self : SupportsGetItem [str , _VT ], m : Iterable [tuple [str , _VT ]], / , ** kwargs : _VT ) -> None : ...
809809 @overload
810- def update (self : Mapping [str , _VT ], ** kwargs : _VT ) -> None : ...
810+ def update (self : SupportsGetItem [str , _VT ], ** kwargs : _VT ) -> None : ...
811811
812812Text = str
813813
0 commit comments