[docs] [issue17854] symmetric difference operation applicable to more than two sets

Amit Saha report at bugs.python.org
Sat Apr 27 14:16:31 CEST 2013


Amit Saha added the comment:

I think the only change I am suggesting is the description of the ^ operator to be something like this:

set ^ other ^ ..
Return a new set with elements from the sets which are not present in more than one set

I do understand that this is not really what the operator and the corresponding operation symmetric_difference() allows semantically. But it does make it consistent with the description of operators such as the | or &, but then their operation allows multiple sets semantically.

Hmm may be it is fine as it is..

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17854>
_______________________________________


More information about the docs mailing list