From 98b29fba244abdca97b62766676b9aefcacb4766 Mon Sep 17 00:00:00 2001 From: Ivan Levkivskyi Date: Fri, 10 Mar 2017 22:26:08 +0100 Subject: [PATCH] Fix frozenset --- stdlib/2/__builtin__.pyi | 2 +- stdlib/3/builtins.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 259c028c5f0c..4094478f82af 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 b0669b118a14..ecfbad5ca04f 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]: ...