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

This commit is contained in:
Joshua Bronson
2022-02-08 09:18:52 -05:00
committed by GitHub
parent 398a5807a1
commit 9a257c18bb

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: ...