mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
other -> others where multiple arguments are accepted.
This commit is contained in:
parent
7d65fbfed4
commit
4ea46a6614
1 changed files with 2 additions and 2 deletions
|
@ -1765,7 +1765,7 @@ The constructors for both classes work the same:
|
||||||
.. method:: update(other, ...)
|
.. method:: update(other, ...)
|
||||||
set |= other | ...
|
set |= other | ...
|
||||||
|
|
||||||
Update the set, adding elements from *other*.
|
Update the set, adding elements from all others.
|
||||||
|
|
||||||
.. versionchanged:: 2.6
|
.. versionchanged:: 2.6
|
||||||
Accepts multiple input iterables.
|
Accepts multiple input iterables.
|
||||||
|
@ -1773,7 +1773,7 @@ The constructors for both classes work the same:
|
||||||
.. method:: intersection_update(other, ...)
|
.. method:: intersection_update(other, ...)
|
||||||
set &= other & ...
|
set &= other & ...
|
||||||
|
|
||||||
Update the set, keeping only elements found in it and *other*.
|
Update the set, keeping only elements found in it and all others.
|
||||||
|
|
||||||
.. versionchanged:: 2.6
|
.. versionchanged:: 2.6
|
||||||
Accepts multiple input iterables.
|
Accepts multiple input iterables.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue