MCPcopy Index your code
hub / github.com/RustPython/RustPython / symmetric_difference

Method symmetric_difference

Lib/_weakrefset.py:122–125  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

120 return self.data == set(map(ref, other))
121
122 def symmetric_difference(self, other):
123 newset = self.copy()
124 newset.symmetric_difference_update(other)
125 return newset
126 __xor__ = symmetric_difference
127
128 def symmetric_difference_update(self, other):

Callers 7

test_xorMethod · 0.45
test_xorMethod · 0.45
test_sym_differenceMethod · 0.45
test_getgroupsMethod · 0.45
builtin_set.pyFile · 0.45

Calls 2

copyMethod · 0.95

Tested by 6

test_xorMethod · 0.36
test_xorMethod · 0.36
test_sym_differenceMethod · 0.36
test_getgroupsMethod · 0.36