Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ difference_update
Method
difference_update
Lib/_weakrefset.py:84–85 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
82
__sub__ = difference
83
84
def
difference_update(self, other):
85
self.__isub__(other)
86
def
__isub__(self, other):
87
if
self is other:
88
self.data.clear()
Callers
10
difference
Method · 0.80
__isub__
Method · 0.80
get_labels
Method · 0.80
test_difference_update
Method · 0.80
__init__
Method · 0.80
_test_set_operator_methods
Method · 0.80
test_difference_update
Method · 0.80
test_issue_37219
Method · 0.80
test_difference_method_call
Method · 0.80
test_difference_update
Method · 0.80
Calls
1
__isub__
Method · 0.95
Tested by
7
test_difference_update
Method · 0.64
__init__
Method · 0.64
_test_set_operator_methods
Method · 0.64
test_difference_update
Method · 0.64
test_issue_37219
Method · 0.64
test_difference_method_call
Method · 0.64
test_difference_update
Method · 0.64