Home
last modified time | relevance | path

Searched refs:symmetric_difference_update (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/
D_weakrefset.py176 newset.symmetric_difference_update(other)
180 def symmetric_difference_update(self, other): member in WeakSet
188 self.data.symmetric_difference_update(ref(item, self._remove) for item in other)
/external/python/cpython2/Lib/
D_weakrefset.py184 newset.symmetric_difference_update(other)
188 def symmetric_difference_update(self, other): member in WeakSet
196 self.data.symmetric_difference_update(ref(item, self._remove) for item in other)
Dsets.py454 self.symmetric_difference_update(other)
457 def symmetric_difference_update(self, other): member in Set
/external/python/cpython2/Lib/test/
Dtest_set.py321 s.symmetric_difference_update(d)
512 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
540 retval = self.s.symmetric_difference_update(self.otherword)
547 self.assertRaises(PassThru, self.s.symmetric_difference_update, check_pass_thru())
548 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
552 self.assertEqual(s.symmetric_difference_update(C(p)), None)
1103 self.set.symmetric_difference_update(set([3, 4, 5]))
1345 self.set.symmetric_difference_update(self.other)
1348 self.set.symmetric_difference_update,
1667 set1.symmetric_difference_update(dict2)
Dtest_weakset.py305 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
316 retval = self.s.symmetric_difference_update(self.items2)
323 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
Dtest_sets.py323 self.set.symmetric_difference_update(Set([3, 4, 5]))
576 self.set.symmetric_difference_update(self.other)
579 self.set.symmetric_difference_update,
/external/python/cpython3/Lib/test/
Dtest_set.py343 s.symmetric_difference_update(d)
541 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
569 retval = self.s.symmetric_difference_update(self.otherword)
576 self.assertRaises(PassThru, self.s.symmetric_difference_update, check_pass_thru())
577 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
581 self.assertEqual(s.symmetric_difference_update(C(p)), None)
1182 self.set.symmetric_difference_update(set([3, 4, 5]))
1435 self.set.symmetric_difference_update(self.other)
1438 self.set.symmetric_difference_update,
1769 set1.symmetric_difference_update(dict2)
Dtest_weakset.py285 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
296 retval = self.s.symmetric_difference_update(self.items2)
303 self.assertRaises(TypeError, self.s.symmetric_difference_update, [[]])
/external/python/cpython2/Doc/library/
Dsets.rst159 | ``s.symmetric_difference_update(t)`` | *s* ^= *t* | return set *s* with elements |
179 :meth:`difference_update`, and :meth:`symmetric_difference_update` will accept
Dstdtypes.rst1975 .. method:: symmetric_difference_update(other)
2005 :meth:`symmetric_difference_update` methods will accept any iterable as an
/external/python/cpython3/Objects/
Ddictobject.c3976 _Py_IDENTIFIER(symmetric_difference_update); in dictviews_xor()
/external/python/cpython3/Doc/library/
Dstdtypes.rst4031 .. method:: symmetric_difference_update(other)
4061 :meth:`symmetric_difference_update` methods will accept any iterable as an
/external/python/cpython3/Doc/whatsnew/
D2.3.rst90 in-place version with the ungainly name :meth:`symmetric_difference_update`. ::
/external/python/cpython2/Doc/whatsnew/
D2.3.rst90 in-place version with the ungainly name :meth:`symmetric_difference_update`. ::
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst5149 symmetric_difference_update also accepts ``|``. Thanks to Carl Chenet.