]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 74578 via svnmerge from
authorTarek Ziadé <ziade.tarek@gmail.com>
Sat, 29 Aug 2009 13:37:34 +0000 (13:37 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Sat, 29 Aug 2009 13:37:34 +0000 (13:37 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sat, 29 Aug 2009) | 1 line

  fixed #6801: symmetric_difference_update also accepts pipe
........

Doc/library/stdtypes.rst
Misc/NEWS

index 7013f150d58d6de426203c4944c297482b53faa4..878f0c0142e1f76f6b4c82d05e8262ae9846caf8 100644 (file)
@@ -1740,7 +1740,7 @@ The constructors for both classes work the same:
          Accepts multiple input iterables.
 
    .. method:: symmetric_difference_update(other)
-               set ^= other
+               set ^= other | ...
 
       Update the set, keeping only elements found in either set, but not in both.
 
index 7bf34a584b40a3dffb2523b0a68e0b8ee0c19214..c2eea0f580ce5ac1ecb294e9f0578f8b0772222f 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -192,6 +192,9 @@ Documentation
 - Issue #6556: Fixed the Distutils configuration files location explanation
   for Windows.
 
+- Issue #6801 : symmetric_difference_update also accepts |.
+  Thanks to Carl Chenet.
+
 Tests
 -----