]> granicus.if.org Git - python/commitdiff
#4976: union() and intersection() take multiple args, but talk about "the other".
authorGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 10:42:35 +0000 (10:42 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 10:42:35 +0000 (10:42 +0000)
Doc/library/stdtypes.rst
Doc/tools/rstlint.py

index 0e8276db74a9e789053b6bb6fc31bb2bd9d5b591..a9c85c214f56e216597b1df3f74b9c21c93340cc 100644 (file)
@@ -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.
index 3ea04bdecc5f107d91f10242a8b03fab24f31d25..0c19003b0fb5ef3c6df5fc5c740e4331be98716d 100755 (executable)
@@ -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