@@ -30,7 +30,7 @@ from _typeshed import (
3030 SupportsRichComparisonT ,
3131 SupportsWrite ,
3232)
33- from collections .abc import Awaitable , Callable , Iterable , Iterator , MutableSet , Reversible , Set as AbstractSet , Sized
33+ from collections .abc import Awaitable , Callable , Hashable , Iterable , Iterator , MutableSet , Reversible , Set as AbstractSet , Sized
3434from io import BufferedRandom , BufferedReader , BufferedWriter , FileIO , TextIOWrapper
3535from os import PathLike
3636from types import CellType , CodeType , EllipsisType , GenericAlias , NotImplementedType , TracebackType , UnionType
@@ -1152,7 +1152,7 @@ class tuple(Sequence[_T_co]):
11521152 def __gt__ (self , value : tuple [_T_co , ...], / ) -> bool : ...
11531153 def __ge__ (self , value : tuple [_T_co , ...], / ) -> bool : ...
11541154 def __eq__ (self , value : object , / ) -> bool : ...
1155- def __hash__ (self ) -> int : ...
1155+ def __hash__ (self : tuple [ Hashable , ...] ) -> int : ...
11561156
11571157 @overload
11581158 def __add__ (self , value : tuple [_T_co , ...], / ) -> tuple [_T_co , ...]: ...
0 commit comments