From 9a257c18bbe19c54b7da29b99d4b538e3679df95 Mon Sep 17 00:00:00 2001 From: Joshua Bronson Date: Tue, 8 Feb 2022 09:18:52 -0500 Subject: [PATCH] Add missing type hint for AbstractSet._hash(). (#7153) --- stdlib/typing.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 943329804..b01435282 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -371,6 +371,7 @@ class MutableSequence(Sequence[_T], Generic[_T]): class AbstractSet(Collection[_T_co], Generic[_T_co]): @abstractmethod def __contains__(self, x: object) -> bool: ... + def _hash(self) -> int: ... # Mixin methods def __le__(self, s: AbstractSet[Any]) -> bool: ... def __lt__(self, s: AbstractSet[Any]) -> bool: ...