Skip to content

Commit dcbed36

Browse files
committed
merge
2 parents 2f76b56 + a33e9f7 commit dcbed36

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/stdtypes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3875,17 +3875,17 @@ The constructors for both classes work the same:
38753875
Test whether the set is a proper superset of *other*, that is, ``set >=
38763876
other and set != other``.
38773877

3878-
.. method:: union(other, ...)
3878+
.. method:: union(*others)
38793879
set | other | ...
38803880

38813881
Return a new set with elements from the set and all others.
38823882

3883-
.. method:: intersection(other, ...)
3883+
.. method:: intersection(*others)
38843884
set & other & ...
38853885

38863886
Return a new set with elements common to the set and all others.
38873887

3888-
.. method:: difference(other, ...)
3888+
.. method:: difference(*others)
38893889
set - other - ...
38903890

38913891
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:
39353935
The following table lists operations available for :class:`set` that do not
39363936
apply to immutable instances of :class:`frozenset`:
39373937

3938-
.. method:: update(other, ...)
3938+
.. method:: update(*others)
39393939
set |= other | ...
39403940

39413941
Update the set, adding elements from all others.
39423942

3943-
.. method:: intersection_update(other, ...)
3943+
.. method:: intersection_update(*others)
39443944
set &= other & ...
39453945

39463946
Update the set, keeping only elements found in it and all others.
39473947

3948-
.. method:: difference_update(other, ...)
3948+
.. method:: difference_update(*others)
39493949
set -= other | ...
39503950

39513951
Update the set, removing elements found in others.

0 commit comments

Comments
 (0)