[Python-checkins] r68718 - in python/trunk/Doc: library/stdtypes.rst tools/rstlint.py

georg.brandl python-checkins at python.org
Sun Jan 18 11:42:36 CET 2009


Author: georg.brandl
Date: Sun Jan 18 11:42:35 2009
New Revision: 68718

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

Modified:
   python/trunk/Doc/library/stdtypes.rst
   python/trunk/Doc/tools/rstlint.py

Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst	(original)
+++ python/trunk/Doc/library/stdtypes.rst	Sun Jan 18 11:42:35 2009
@@ -1679,7 +1679,7 @@
    .. 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 @@
    .. 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.

Modified: python/trunk/Doc/tools/rstlint.py
==============================================================================
--- python/trunk/Doc/tools/rstlint.py	(original)
+++ python/trunk/Doc/tools/rstlint.py	Sun Jan 18 11:42:35 2009
@@ -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


More information about the Python-checkins mailing list