Kaydet (Commit) 6c81b54c authored tarafından Georg Brandl's avatar Georg Brandl

#4976: union() and intersection() take multiple args, but talk about "the other".

üst 6ab22154
......@@ -1679,7 +1679,7 @@ The constructors for both classes work the same:
.. method:: union(other, ...)
set | other | ...
Return a new set with elements from both sets.
Return a new set with elements from the set and all others.
.. versionchanged:: 2.6
Accepts multiple input iterables.
......@@ -1687,7 +1687,7 @@ The constructors for both classes work the same:
.. method:: intersection(other, ...)
set & other & ...
Return a new set with elements common to both sets.
Return a new set with elements common to the set and all others.
.. versionchanged:: 2.6
Accepts multiple input iterables.
......
......@@ -6,6 +6,9 @@
#
# 01/2009, Georg Brandl
# TODO: - wrong versions in versionadded/changed
# - wrong markup after versionchanged directive
from __future__ import with_statement
import os
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment