@@ -734,7 +734,7 @@ class bytearray(MutableSequence[int], ByteString):
734
734
def __repr__ (self ) -> str : ...
735
735
def __int__ (self ) -> int : ...
736
736
def __float__ (self ) -> float : ...
737
- def __hash__ ( self ) -> int : ...
737
+ __hash__ : None # type: ignore
738
738
@overload
739
739
def __getitem__ (self , i : int ) -> int : ...
740
740
@overload
@@ -849,6 +849,7 @@ class slice(object):
849
849
def __init__ (self , stop : Any ) -> None : ...
850
850
@overload
851
851
def __init__ (self , start : Any , stop : Any , step : Any = ...) -> None : ...
852
+ __hash__ : None # type: ignore
852
853
def indices (self , len : int ) -> Tuple [int , int , int ]: ...
853
854
854
855
class tuple (Sequence [_T_co ], Generic [_T_co ]):
@@ -906,7 +907,7 @@ class list(MutableSequence[_T], Generic[_T]):
906
907
def __len__ (self ) -> int : ...
907
908
def __iter__ (self ) -> Iterator [_T ]: ...
908
909
def __str__ (self ) -> str : ...
909
- def __hash__ ( self ) -> int : ...
910
+ __hash__ : None # type: ignore
910
911
@overload
911
912
def __getitem__ (self , i : int ) -> _T : ...
912
913
@overload
@@ -980,6 +981,7 @@ class dict(MutableMapping[_KT, _VT], Generic[_KT, _VT]):
980
981
def __delitem__ (self , v : _KT ) -> None : ...
981
982
def __iter__ (self ) -> Iterator [_KT ]: ...
982
983
def __str__ (self ) -> str : ...
984
+ __hash__ : None # type: ignore
983
985
984
986
class set (MutableSet [_T ], Generic [_T ]):
985
987
def __init__ (self , iterable : Iterable [_T ] = ...) -> None : ...
@@ -1016,6 +1018,7 @@ class set(MutableSet[_T], Generic[_T]):
1016
1018
def __lt__ (self , s : AbstractSet [object ]) -> bool : ...
1017
1019
def __ge__ (self , s : AbstractSet [object ]) -> bool : ...
1018
1020
def __gt__ (self , s : AbstractSet [object ]) -> bool : ...
1021
+ __hash__ : None # type: ignore
1019
1022
1020
1023
class frozenset (AbstractSet [_T ], Generic [_T ]):
1021
1024
def __init__ (self , iterable : Iterable [_T ] = ...) -> None : ...
0 commit comments