MCPcopy 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

differenceMethod · 0.45
__isub__Method · 0.45
get_labelsMethod · 0.45
test_issue_37219Method · 0.45
builtin_set.pyFile · 0.45

Calls 1

__isub__Method · 0.95

Tested by 5

test_issue_37219Method · 0.36