Add missing type hint for AbstractSet._hash(). (#7153)

This commit is contained in:
Joshua Bronson authored and GitHub committed 2022-02-08 06:18:52 -08:00
1 parent 398a5807a1
commit 9a257c18bb
1 file changed
+1
+1
View File
@@ -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: ...