diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 259c028c5..4094478f8 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -619,7 +619,7 @@ class set(MutableSet[_T], Generic[_T]): def __gt__(self, s: AbstractSet[Any]) -> bool: ... # TODO more set operations -class frozenset(FrozenSet[_T], Generic[_T]): +class frozenset(AbstractSet[_T], Generic[_T]): @overload def __init__(self) -> None: ... @overload diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index b0669b118..ecfbad5ca 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -666,7 +666,7 @@ class set(MutableSet[_T], Generic[_T]): def __gt__(self, s: AbstractSet[Any]) -> bool: ... # TODO more set operations -class frozenset(FrozenSet[_T], Generic[_T]): +class frozenset(AbstractSet[_T], Generic[_T]): def __init__(self, iterable: Iterable[_T] = ...) -> None: ... def copy(self) -> frozenset[_T]: ... def difference(self, *s: Iterable[Any]) -> frozenset[_T]: ...