Message118231
The '^' corresponds to the __xor__ magic method.
snip from _abcoll.py:
def __xor__(self, other):
if not isinstance(other, Set):
if not isinstance(other, Iterable):
return NotImplemented
other = self._from_iterable(other)
return (self - other) | (other - self) |
|
Date |
User |
Action |
Args |
2010-10-08 22:34:28 | rhettinger | set | recipients:
+ rhettinger, georg.brandl, terry.reedy, ezio.melotti, zuo, sandro.tosi |
2010-10-08 22:34:28 | rhettinger | set | messageid: <1286577268.05.0.260651258873.issue7771@psf.upfronthosting.co.za> |
2010-10-08 22:34:26 | rhettinger | link | issue7771 messages |
2010-10-08 22:34:26 | rhettinger | create | |
|