This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Amit.Saha
Recipients Amit.Saha, docs@python
Date 2013-04-27.11:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The description of the symmetric difference operation implies that it cannot be applied to more than two sets (

However, this is certainly possible:

>>> s={1,2}
>>> t={2,3}
>>> u={3,4}
>>> s^t^u
{1, 4}
>>> s.symmetric_difference(t).symmetric_difference(u)
{1, 4}

I am not sure how much of a "semantic" sense that makes, given that symmetric difference is by definition for two sets. (

So, either the operator should be fixed to allow only two sets or the description be updated.
Date User Action Args
2013-04-27 11:47:20Amit.Sahasetrecipients: + Amit.Saha, docs@python
2013-04-27 11:47:20Amit.Sahasetmessageid: <>
2013-04-27 11:47:20Amit.Sahalinkissue17854 messages
2013-04-27 11:47:19Amit.Sahacreate