MCPcopy Index your code
hub / github.com/RustPython/RustPython / 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 11

__init__Method · 0.45
assertSetEqualMethod · 0.45
test_differenceMethod · 0.45
test_subMethod · 0.45
test_startup_importsMethod · 0.45
test_differenceMethod · 0.45
test_subMethod · 0.45
test_issue_37219Method · 0.45
test_differenceMethod · 0.45
builtin_set.pyFile · 0.45

Calls 2

copyMethod · 0.95
difference_updateMethod · 0.45

Tested by 8

test_differenceMethod · 0.36
test_subMethod · 0.36
test_startup_importsMethod · 0.36
test_differenceMethod · 0.36
test_subMethod · 0.36
test_issue_37219Method · 0.36
test_differenceMethod · 0.36