Skip to content

Commit 9a257c1

Browse files
authored
Add missing type hint for AbstractSet._hash(). (#7153)
1 parent 398a580 commit 9a257c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/typing.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ class MutableSequence(Sequence[_T], Generic[_T]):
371371
class AbstractSet(Collection[_T_co], Generic[_T_co]):
372372
@abstractmethod
373373
def __contains__(self, x: object) -> bool: ...
374+
def _hash(self) -> int: ...
374375
# Mixin methods
375376
def __le__(self, s: AbstractSet[Any]) -> bool: ...
376377
def __lt__(self, s: AbstractSet[Any]) -> bool: ...

0 commit comments

Comments
 (0)