Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ symmetric_difference_update
Method
symmetric_difference_update
Lib/_weakrefset.py:128–129 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
126
__xor__ = symmetric_difference
127
128
def
symmetric_difference_update(self, other):
129
self.__ixor__(other)
130
def
__ixor__(self, other):
131
if
self is other:
132
self.data.clear()
Callers
9
symmetric_difference
Method · 0.80
__ixor__
Method · 0.80
test_symmetric_difference_update
Method · 0.80
_test_set_operator_methods
Method · 0.80
test_do_not_rehash_dict_keys
Method · 0.80
test_symmetric_difference_update
Method · 0.80
test_sym_difference_method_call
Method · 0.80
test_sym_difference_update
Method · 0.80
test_8420_set_merge
Method · 0.80
Calls
1
__ixor__
Method · 0.95
Tested by
7
test_symmetric_difference_update
Method · 0.64
_test_set_operator_methods
Method · 0.64
test_do_not_rehash_dict_keys
Method · 0.64
test_symmetric_difference_update
Method · 0.64
test_sym_difference_method_call
Method · 0.64
test_sym_difference_update
Method · 0.64
test_8420_set_merge
Method · 0.64