MCPcopy Create free account
hub / github.com/rthalley/dnspython / update

Method update

dns/set.py:236–245  ·  view source on GitHub ↗

Update the set, adding any elements from other which are not already in the set. *other*, the collection of items with which to update the set, which may be any iterable type.

(self, other)

Source from the content-addressed store, hash-verified

234 return self
235
236 def update(self, other):
237 """Update the set, adding any elements from other which are not
238 already in the set.
239
240 *other*, the collection of items with which to update the set, which
241 may be any iterable type.
242 """
243
244 for item in other:
245 self.add(item)
246
247 def clear(self):
248 """Make the set empty."""

Callers 15

_cloneMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
make_dsFunction · 0.45
resolve_addressMethod · 0.45
resolve_nameMethod · 0.45
httpsFunction · 0.45
resolve_addressMethod · 0.45
resolve_nameMethod · 0.45
find_rrsetMethod · 0.45
_compute_digestMethod · 0.45
__init__Method · 0.45

Calls 1

addMethod · 0.95

Tested by 5

__init__Method · 0.36
handleMethod · 0.36
testUpdate1Method · 0.36
testUpdate2Method · 0.36
test_gssapi_contextMethod · 0.36