@@ -3875,17 +3875,17 @@ The constructors for both classes work the same:
3875
3875
Test whether the set is a proper superset of *other *, that is, ``set >=
3876
3876
other and set != other ``.
3877
3877
3878
- .. method :: union(other, ... )
3878
+ .. method :: union(*others )
3879
3879
set | other | ...
3880
3880
3881
3881
Return a new set with elements from the set and all others.
3882
3882
3883
- .. method :: intersection(other, ... )
3883
+ .. method :: intersection(*others )
3884
3884
set & other & ...
3885
3885
3886
3886
Return a new set with elements common to the set and all others.
3887
3887
3888
- .. method :: difference(other, ... )
3888
+ .. method :: difference(*others )
3889
3889
set - other - ...
3890
3890
3891
3891
Return a new set with elements in the set that are not in the others.
@@ -3935,17 +3935,17 @@ The constructors for both classes work the same:
3935
3935
The following table lists operations available for :class: `set ` that do not
3936
3936
apply to immutable instances of :class: `frozenset `:
3937
3937
3938
- .. method :: update(other, ... )
3938
+ .. method :: update(*others )
3939
3939
set |= other | ...
3940
3940
3941
3941
Update the set, adding elements from all others.
3942
3942
3943
- .. method :: intersection_update(other, ... )
3943
+ .. method :: intersection_update(*others )
3944
3944
set &= other & ...
3945
3945
3946
3946
Update the set, keeping only elements found in it and all others.
3947
3947
3948
- .. method :: difference_update(other, ... )
3948
+ .. method :: difference_update(*others )
3949
3949
set -= other | ...
3950
3950
3951
3951
Update the set, removing elements found in others.
0 commit comments