Skip to content

Commit 25b27ef

Browse files
committed
commit 1
1 parent c6d1070 commit 25b27ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/builtins.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
3434
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
3535
from os import PathLike
3636
from 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

Comments
 (0)