MCPcopy 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

differenceMethod · 0.80
__isub__Method · 0.80
get_labelsMethod · 0.80
__init__Method · 0.80
test_issue_37219Method · 0.80

Calls 1

__isub__Method · 0.95

Tested by 7

__init__Method · 0.64
test_issue_37219Method · 0.64