Home
last modified time | relevance | path

Searched refs:symmetric_difference (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/
D_weakrefset.py174 def symmetric_difference(self, other): member in WeakSet
178 __xor__ = symmetric_difference
/external/python/cpython2/Lib/
D_weakrefset.py182 def symmetric_difference(self, other): member in WeakSet
186 __xor__ = symmetric_difference
Dsets.py226 return self.symmetric_difference(other)
228 def symmetric_difference(self, other): member in BaseSet
/external/python/cpython2/Lib/test/
Dtest_set.py173 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 …]
Dtest_weakset.py141 i = self.s.symmetric_difference(self.items2)
146 self.assertRaises(TypeError, self.s.symmetric_difference, [[]])
153 i = self.s.symmetric_difference(self.items2)
Dtest_sets.py586 self.set.symmetric_difference(self.other)
588 self.assertRaises(TypeError, self.set.symmetric_difference, self.other)
/external/harfbuzz_ng/src/
Dhb-set.cc389 set->symmetric_difference (other); in hb_set_symmetric_difference()
Dhb-set.hh560 void symmetric_difference (const hb_set_t *other) in symmetric_difference() function
/external/python/cpython3/Lib/test/
Dtest_set.py174 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 …]
Dtest_weakset.py121 i = self.s.symmetric_difference(self.items2)
126 self.assertRaises(TypeError, self.s.symmetric_difference, [[]])
133 i = self.s.symmetric_difference(self.items2)
Dtest_posix.py1056 symdiff = idg_groups.symmetric_difference(posix.getgroups())
/external/python/cpython2/Doc/library/
Dsets.rst102 | ``s.symmetric_difference(t)`` | ``s ^ t`` | new set with elements in either |
110 :meth:`difference`, and :meth:`symmetric_difference` will accept any iterable as
Dstdtypes.rst1905 .. method:: symmetric_difference(other)
1916 :meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and
/external/python/cpython3/Doc/library/
Dstdtypes.rst4042 .. method:: symmetric_difference(other)
4053 :meth:`difference`, and :meth:`symmetric_difference`, :meth:`issubset`, and
/external/python/cpython3/Doc/whatsnew/
D2.3.rst94 >>> S1.symmetric_difference(S2)
/external/python/cpython2/Doc/whatsnew/
D2.3.rst94 >>> S1.symmetric_difference(S2)