Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ clear
Method
clear
dns/set.py:247–249 ·
view source on GitHub ↗
Make the set empty.
(self)
Source
from the content-addressed store, hash-verified
245
self.add(item)
246
247
def
clear(self):
248
""
"Make the set empty."
""
249
self.items.clear()
250
251
def
__eq__(self, other):
252
return
self.items == other.items
Callers
4
difference_update
Method · 0.45
symmetric_difference_update
Method · 0.45
to_wire
Method · 0.45
test_checks
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_checks
Function · 0.36