Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ 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
9
difference
Method · 0.45
__isub__
Method · 0.45
get_labels
Method · 0.45
test_difference_update
Method · 0.45
test_difference_update
Method · 0.45
test_issue_37219
Method · 0.45
test_difference_method_call
Method · 0.45
test_difference_update
Method · 0.45
builtin_set.py
File · 0.45
Calls
1
__isub__
Method · 0.95
Tested by
5
test_difference_update
Method · 0.36
test_difference_update
Method · 0.36
test_issue_37219
Method · 0.36
test_difference_method_call
Method · 0.36
test_difference_update
Method · 0.36