Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ isdisjoint
Method
isdisjoint
Lib/_weakrefset.py:141–142 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
139
__or__ = union
140
141
def
isdisjoint(self, other):
142
return
len(self.intersection(other)) == 0
143
144
def
__repr__(self):
145
return
repr(self.data)
Callers
15
__new__
Method · 0.45
_ftstring_helper
Method · 0.45
addr_spec
Method · 0.45
__str__
Method · 0.45
__str__
Method · 0.45
_refold_parse_tree
Function · 0.45
test_isdisjoint
Method · 0.45
test_keys_set_operations
Method · 0.45
test_items_set_operations
Method · 0.45
assert_ne_subtest
Method · 0.45
test_isdisjoint_Set
Method · 0.45
_test_set_comparisons
Method · 0.45
Calls
1
intersection
Method · 0.95
Tested by
14
test_isdisjoint
Method · 0.36
test_keys_set_operations
Method · 0.36
test_items_set_operations
Method · 0.36
assert_ne_subtest
Method · 0.36
test_isdisjoint_Set
Method · 0.36
_test_set_comparisons
Method · 0.36
test_isdisjoint
Method · 0.36
test_self_isdisjoint
Method · 0.36
test_empty_isdisjoint
Method · 0.36
test_isdisjoint_empty
Method · 0.36
test_isdisjoint_subset
Method · 0.36
test_isdisjoint_superset
Method · 0.36