summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-08-29 13:33:21 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2009-08-29 13:33:21 +0000
commit3092ed977fa601c68469a61e7366eaa40c77bb7b (patch)
treeb5eb18afc71d4928b0a10593d594a1232645c07a
parent2fdd58ad18a046db9fc099f03bb26ab6b21c972b (diff)
downloadcpython-git-3092ed977fa601c68469a61e7366eaa40c77bb7b.tar.gz
fixed #6801: symmetric_difference_update also accepts pipe
-rw-r--r--Doc/library/stdtypes.rst2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 091cae4a10..4b84392e39 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 49a0942063..e9a929aa9e 100644
--- 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
-----