MCPcopy Index your code
hub / github.com/python/cpython / difference

Method difference

Lib/_weakrefset.py:78–81  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

76 return self
77
78 def difference(self, other):
79 newset = self.copy()
80 newset.difference_update(other)
81 return newset
82 __sub__ = difference
83
84 def difference_update(self, other):

Callers 15

parse_platformsMethod · 0.80
find_deviceFunction · 0.80
__init__Method · 0.80
assertSetEqualMethod · 0.80
test_differenceMethod · 0.80
test_subMethod · 0.80
test_startup_importsMethod · 0.80
test_differenceMethod · 0.80
test_subMethod · 0.80
test_issue_37219Method · 0.80

Calls 2

copyMethod · 0.95
difference_updateMethod · 0.80

Tested by 9

test_differenceMethod · 0.64
test_subMethod · 0.64
test_startup_importsMethod · 0.64
test_differenceMethod · 0.64
test_subMethod · 0.64
test_issue_37219Method · 0.64
test_differenceMethod · 0.64