Add FrozenSet to the typing stub files (#474)

This commit is contained in:
Emanuel Barry
2016-08-13 22:34:38 -04:00
committed by Guido van Rossum
parent 313b584e34
commit 0989cb1cb3
2 changed files with 4 additions and 0 deletions

View File

@@ -145,6 +145,8 @@ 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], Generic[_T]): ...
class MutableSet(AbstractSet[_T], Generic[_T]):
@abstractmethod
def add(self, x: _T) -> None: ...