MCPcopy 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_updateMethod · 0.45
to_wireMethod · 0.45
test_checksFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_checksFunction · 0.36