@@ -3866,17 +3866,17 @@ The constructors for both classes work the same:
3866
3866
Test whether the set is a proper superset of *other *, that is, ``set >=
3867
3867
other and set != other ``.
3868
3868
3869
- .. method :: union(other, ... )
3869
+ .. method :: union(*others )
3870
3870
set | other | ...
3871
3871
3872
3872
Return a new set with elements from the set and all others.
3873
3873
3874
- .. method :: intersection(other, ... )
3874
+ .. method :: intersection(*others )
3875
3875
set & other & ...
3876
3876
3877
3877
Return a new set with elements common to the set and all others.
3878
3878
3879
- .. method :: difference(other, ... )
3879
+ .. method :: difference(*others )
3880
3880
set - other - ...
3881
3881
3882
3882
Return a new set with elements in the set that are not in the others.
@@ -3926,17 +3926,17 @@ The constructors for both classes work the same:
3926
3926
The following table lists operations available for :class: `set ` that do not
3927
3927
apply to immutable instances of :class: `frozenset `:
3928
3928
3929
- .. method :: update(other, ... )
3929
+ .. method :: update(*others )
3930
3930
set |= other | ...
3931
3931
3932
3932
Update the set, adding elements from all others.
3933
3933
3934
- .. method :: intersection_update(other, ... )
3934
+ .. method :: intersection_update(*others )
3935
3935
set &= other & ...
3936
3936
3937
3937
Update the set, keeping only elements found in it and all others.
3938
3938
3939
- .. method :: difference_update(other, ... )
3939
+ .. method :: difference_update(*others )
3940
3940
set -= other | ...
3941
3941
3942
3942
Update the set, removing elements found in others.
0 commit comments