Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ add
Method
add
dns/btree.py:845–847 ·
view source on GitHub ↗
(self, value: KT)
Source
from the content-addressed store, hash-verified
843
return
self.get_element(key) is not None
844
845
def
add(self, value: KT) -> None:
846
elt = Member(value)
847
self.insert_element(elt, self.in_order)
848
849
def
discard(self, value: KT) -> None:
850
self.delete_key(value)
Callers
2
test_btree_set
Function · 0.95
register_cursor
Method · 0.45
Calls
2
Member
Class · 0.85
insert_element
Method · 0.80
Tested by
1
test_btree_set
Function · 0.76