Searched refs:symmetric_difference (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Lib/ |
D | _weakrefset.py | 174 def symmetric_difference(self, other): member in WeakSet 178 __xor__ = symmetric_difference
|
/external/python/cpython2/Lib/ |
D | _weakrefset.py | 182 def symmetric_difference(self, other): member in WeakSet 186 __xor__ = symmetric_difference
|
D | sets.py | 226 return self.symmetric_difference(other) 228 def symmetric_difference(self, other): member in BaseSet
|
/external/python/cpython2/Lib/test/ |
D | test_set.py | 173 i = self.s.symmetric_difference(self.otherword) 178 self.assertRaises(PassThru, self.s.symmetric_difference, check_pass_thru()) 179 self.assertRaises(TypeError, self.s.symmetric_difference, [[]]) 181 self.assertEqual(self.thetype('abcba').symmetric_difference(C('cdc')), set('abd')) 182 self.assertEqual(self.thetype('abcba').symmetric_difference(C('efgfe')), set('abcefg')) 183 self.assertEqual(self.thetype('abcba').symmetric_difference(C('ccb')), set('a')) 184 self.assertEqual(self.thetype('abcba').symmetric_difference(C('ef')), set('abcef')) 187 i = self.s.symmetric_difference(self.otherword) 1355 self.set.symmetric_difference(self.other) 1357 self.assertRaises(TypeError, self.set.symmetric_difference, self.other) [all …]
|
D | test_weakset.py | 141 i = self.s.symmetric_difference(self.items2) 146 self.assertRaises(TypeError, self.s.symmetric_difference, [[]]) 153 i = self.s.symmetric_difference(self.items2)
|
D | test_sets.py | 586 self.set.symmetric_difference(self.other) 588 self.assertRaises(TypeError, self.set.symmetric_difference, self.other)
|
/external/harfbuzz_ng/src/ |
D | hb-set.cc | 389 set->symmetric_difference (other); in hb_set_symmetric_difference()
|
D | hb-set.hh | 560 void symmetric_difference (const hb_set_t *other) in symmetric_difference() function
|
/external/python/cpython3/Lib/test/ |
D | test_set.py | 174 i = self.s.symmetric_difference(self.otherword) 179 self.assertRaises(PassThru, self.s.symmetric_difference, check_pass_thru()) 180 self.assertRaises(TypeError, self.s.symmetric_difference, [[]]) 182 self.assertEqual(self.thetype('abcba').symmetric_difference(C('cdc')), set('abd')) 183 self.assertEqual(self.thetype('abcba').symmetric_difference(C('efgfe')), set('abcefg')) 184 self.assertEqual(self.thetype('abcba').symmetric_difference(C('ccb')), set('a')) 185 self.assertEqual(self.thetype('abcba').symmetric_difference(C('ef')), set('abcef')) 188 i = self.s.symmetric_difference(self.otherword) 1451 self.set.symmetric_difference(self.other) 1453 self.assertRaises(TypeError, self.set.symmetric_difference, self.other) [all …]
|
D | test_weakset.py | 121 i = self.s.symmetric_difference(self.items2) 126 self.assertRaises(TypeError, self.s.symmetric_difference, [[]]) 133 i = self.s.symmetric_difference(self.items2)
|
D | test_posix.py | 1056 symdiff = idg_groups.symmetric_difference(posix.getgroups())
|
/external/python/cpython2/Doc/library/ |
D | sets.rst | 102 | ``s.symmetric_difference(t)`` | ``s ^ t`` | new set with elements in either | 110 :meth:`difference`, and :meth:`symmetric_difference` will accept any iterable as
|
D | stdtypes.rst | 1905 .. method:: symmetric_difference(other) 1916 :meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and
|
/external/python/cpython3/Doc/library/ |
D | stdtypes.rst | 4042 .. method:: symmetric_difference(other) 4053 :meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.3.rst | 94 >>> S1.symmetric_difference(S2)
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 94 >>> S1.symmetric_difference(S2)
|