mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add missing type hint for AbstractSet._hash(). (#7153)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user