@@ -1049,24 +1049,24 @@ class set(MutableSet[_T], Generic[_T]):
1049
1049
def __gt__ (self , s : AbstractSet [object ]) -> bool : ...
1050
1050
__hash__ : None # type: ignore
1051
1051
1052
- class frozenset (AbstractSet [_T ], Generic [_T ]):
1053
- def __init__ (self , iterable : Iterable [_T ] = ...) -> None : ...
1054
- def copy (self ) -> FrozenSet [_T ]: ...
1055
- def difference (self , * s : Iterable [object ]) -> FrozenSet [_T ]: ...
1056
- def intersection (self , * s : Iterable [object ]) -> FrozenSet [_T ]: ...
1057
- def isdisjoint (self , s : Iterable [_T ]) -> bool : ...
1052
+ class frozenset (AbstractSet [_T_co ], Generic [_T_co ]):
1053
+ def __init__ (self , iterable : Iterable [_T_co ] = ...) -> None : ...
1054
+ def copy (self ) -> FrozenSet [_T_co ]: ...
1055
+ def difference (self , * s : Iterable [object ]) -> FrozenSet [_T_co ]: ...
1056
+ def intersection (self , * s : Iterable [object ]) -> FrozenSet [_T_co ]: ...
1057
+ def isdisjoint (self , s : Iterable [_T_co ]) -> bool : ...
1058
1058
def issubset (self , s : Iterable [object ]) -> bool : ...
1059
1059
def issuperset (self , s : Iterable [object ]) -> bool : ...
1060
- def symmetric_difference (self , s : Iterable [_T ]) -> FrozenSet [_T ]: ...
1061
- def union (self , * s : Iterable [_T ]) -> FrozenSet [_T ]: ...
1060
+ def symmetric_difference (self , s : Iterable [_T_co ]) -> FrozenSet [_T_co ]: ...
1061
+ def union (self , * s : Iterable [_T_co ]) -> FrozenSet [_T_co ]: ...
1062
1062
def __len__ (self ) -> int : ...
1063
1063
def __contains__ (self , o : object ) -> bool : ...
1064
- def __iter__ (self ) -> Iterator [_T ]: ...
1064
+ def __iter__ (self ) -> Iterator [_T_co ]: ...
1065
1065
def __str__ (self ) -> str : ...
1066
- def __and__ (self , s : AbstractSet [_T ]) -> FrozenSet [_T ]: ...
1067
- def __or__ (self , s : AbstractSet [_S ]) -> FrozenSet [Union [_T , _S ]]: ...
1068
- def __sub__ (self , s : AbstractSet [_T ]) -> FrozenSet [_T ]: ...
1069
- def __xor__ (self , s : AbstractSet [_S ]) -> FrozenSet [Union [_T , _S ]]: ...
1066
+ def __and__ (self , s : AbstractSet [_T_co ]) -> FrozenSet [_T_co ]: ...
1067
+ def __or__ (self , s : AbstractSet [_S ]) -> FrozenSet [Union [_T_co , _S ]]: ...
1068
+ def __sub__ (self , s : AbstractSet [_T_co ]) -> FrozenSet [_T_co ]: ...
1069
+ def __xor__ (self , s : AbstractSet [_S ]) -> FrozenSet [Union [_T_co , _S ]]: ...
1070
1070
def __le__ (self , s : AbstractSet [object ]) -> bool : ...
1071
1071
def __lt__ (self , s : AbstractSet [object ]) -> bool : ...
1072
1072
def __ge__ (self , s : AbstractSet [object ]) -> bool : ...
0 commit comments