File tree 3 files changed +6
-6
lines changed
mypy/typeshed/stdlib/@python2
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ class set(MutableSet[_T], Generic[_T]):
711
711
def __and__ (self , s : AbstractSet [object ]) -> set [_T ]: ...
712
712
def __iand__ (self : Self , s : AbstractSet [object ]) -> Self : ...
713
713
def __or__ (self , s : AbstractSet [_S ]) -> set [_T | _S ]: ...
714
- def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
714
+ def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
715
715
@overload
716
716
def __sub__ (self : set [str ], s : AbstractSet [Text | None ]) -> set [_T ]: ...
717
717
@overload
@@ -721,7 +721,7 @@ class set(MutableSet[_T], Generic[_T]):
721
721
@overload
722
722
def __isub__ (self , s : AbstractSet [_T | None ]) -> set [_T ]: ...
723
723
def __xor__ (self , s : AbstractSet [_S ]) -> set [_T | _S ]: ...
724
- def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
724
+ def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
725
725
def __le__ (self , s : AbstractSet [object ]) -> bool : ...
726
726
def __lt__ (self , s : AbstractSet [object ]) -> bool : ...
727
727
def __ge__ (self , s : AbstractSet [object ]) -> bool : ...
Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ class set(MutableSet[_T], Generic[_T]):
711
711
def __and__ (self , s : AbstractSet [object ]) -> set [_T ]: ...
712
712
def __iand__ (self : Self , s : AbstractSet [object ]) -> Self : ...
713
713
def __or__ (self , s : AbstractSet [_S ]) -> set [_T | _S ]: ...
714
- def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
714
+ def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
715
715
@overload
716
716
def __sub__ (self : set [str ], s : AbstractSet [Text | None ]) -> set [_T ]: ...
717
717
@overload
@@ -721,7 +721,7 @@ class set(MutableSet[_T], Generic[_T]):
721
721
@overload
722
722
def __isub__ (self , s : AbstractSet [_T | None ]) -> set [_T ]: ...
723
723
def __xor__ (self , s : AbstractSet [_S ]) -> set [_T | _S ]: ...
724
- def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
724
+ def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
725
725
def __le__ (self , s : AbstractSet [object ]) -> bool : ...
726
726
def __lt__ (self , s : AbstractSet [object ]) -> bool : ...
727
727
def __ge__ (self , s : AbstractSet [object ]) -> bool : ...
Original file line number Diff line number Diff line change @@ -239,9 +239,9 @@ class MutableSet(AbstractSet[_T], Generic[_T]):
239
239
def clear (self ) -> None : ...
240
240
def pop (self ) -> _T : ...
241
241
def remove (self , element : _T ) -> None : ...
242
- def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
242
+ def __ior__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
243
243
def __iand__ (self : Self , s : AbstractSet [Any ]) -> Self : ...
244
- def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ...
244
+ def __ixor__ (self : Self , s : AbstractSet [_T ]) -> Self : ... # type: ignore[override,misc]
245
245
def __isub__ (self : Self , s : AbstractSet [Any ]) -> Self : ...
246
246
247
247
class MappingView (object ):
You can’t perform that action at this time.
0 commit comments