Skip to content

Commit bd5b33f

Browse files
ilevkivskyigvanrossum
authored andcommitted
Fix frozenset (#979)
1 parent 85866fe commit bd5b33f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/2/__builtin__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ class set(MutableSet[_T], Generic[_T]):
619619
def __gt__(self, s: AbstractSet[Any]) -> bool: ...
620620
# TODO more set operations
621621

622-
class frozenset(FrozenSet[_T], Generic[_T]):
622+
class frozenset(AbstractSet[_T], Generic[_T]):
623623
@overload
624624
def __init__(self) -> None: ...
625625
@overload

stdlib/3/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ class set(MutableSet[_T], Generic[_T]):
666666
def __gt__(self, s: AbstractSet[Any]) -> bool: ...
667667
# TODO more set operations
668668

669-
class frozenset(FrozenSet[_T], Generic[_T]):
669+
class frozenset(AbstractSet[_T], Generic[_T]):
670670
def __init__(self, iterable: Iterable[_T] = ...) -> None: ...
671671
def copy(self) -> frozenset[_T]: ...
672672
def difference(self, *s: Iterable[Any]) -> frozenset[_T]: ...

0 commit comments

Comments
 (0)