Skip to content

Commit 2f03dc7

Browse files
committed
set difference strictly: fix #1840
1 parent 4b360ca commit 2f03dc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/2and3/builtins.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,8 +1039,8 @@ class set(MutableSet[_T], Generic[_T]):
10391039
def __iand__(self, s: AbstractSet[object]) -> Set[_T]: ...
10401040
def __or__(self, s: AbstractSet[_S]) -> Set[Union[_T, _S]]: ...
10411041
def __ior__(self, s: AbstractSet[_S]) -> Set[Union[_T, _S]]: ...
1042-
def __sub__(self, s: AbstractSet[object]) -> Set[_T]: ...
1043-
def __isub__(self, s: AbstractSet[object]) -> Set[_T]: ...
1042+
def __sub__(self, s: AbstractSet[_T]) -> Set[_T]: ...
1043+
def __isub__(self, s: AbstractSet[_T]) -> Set[_T]: ...
10441044
def __xor__(self, s: AbstractSet[_S]) -> Set[Union[_T, _S]]: ...
10451045
def __ixor__(self, s: AbstractSet[_S]) -> Set[Union[_T, _S]]: ...
10461046
def __le__(self, s: AbstractSet[object]) -> bool: ...

0 commit comments

Comments
 (0)