mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Replace frozenset with FrozenSet (#1057)
This commit is contained in:
committed by
Jelle Zijlstra
parent
25464cf0a7
commit
ed9f70c738
@@ -31,6 +31,7 @@ List = TypeAlias(object)
|
||||
Dict = TypeAlias(object)
|
||||
DefaultDict = TypeAlias(object)
|
||||
Set = TypeAlias(object)
|
||||
FrozenSet = TypeAlias(object)
|
||||
Counter = TypeAlias(object)
|
||||
Deque = TypeAlias(object)
|
||||
|
||||
@@ -164,8 +165,6 @@ class AbstractSet(Sized, Iterable[_T_co], Container[_T_co], Generic[_T_co]):
|
||||
# TODO: argument can be any container?
|
||||
def isdisjoint(self, s: AbstractSet[Any]) -> bool: ...
|
||||
|
||||
class FrozenSet(AbstractSet[_T_co], Generic[_T_co]): ...
|
||||
|
||||
class MutableSet(AbstractSet[_T], Generic[_T]):
|
||||
@abstractmethod
|
||||
def add(self, x: _T) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user