From 6c81b54cc4b9490dc54a2d3cf72873f49f0c6eba Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 18 Jan 2009 10:42:35 +0000 Subject: #4976: union() and intersection() take multiple args, but talk about "the other". --- Doc/library/stdtypes.rst | 4 ++-- Doc/tools/rstlint.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 0e8276d..a9c85c2 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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. diff --git a/Doc/tools/rstlint.py b/Doc/tools/rstlint.py index 3ea04bd..0c19003 100755 --- a/Doc/tools/rstlint.py +++ b/Doc/tools/rstlint.py @@ -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 -- cgit v0.12