]> granicus.if.org Git - python/commitdiff
fixed #6801: symmetric_difference_update also accepts pipe
authorTarek Ziadé <ziade.tarek@gmail.com>
Sat, 29 Aug 2009 13:33:21 +0000 (13:33 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Sat, 29 Aug 2009 13:33:21 +0000 (13:33 +0000)
Doc/library/stdtypes.rst
Misc/NEWS

index 091cae4a106ac56e9a1a44d50c0bd0cd53384b91..4b84392e399ab54752cb03b2216cf9d3691eafcc 100644 (file)
@@ -1787,7 +1787,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 49a094206313837bbba83fc97a3b7aaa627c77db..e9a929aa9edcd76d66aa293912f6856722a6eefa 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1229,6 +1229,9 @@ Documentation
 - Issue #6556: Fixed the Distutils configuration files location explanation
   for Windows.
 
+- Issue #6801 : symmetric_difference_update also accepts |.
+  Thanks to Carl Chenet. 
+
 C-API
 -----