MCPcopy Index your code
hub / github.com/secdev/scapy / update

Method update

scapy/config.py:522–528  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

520 raise AttributeError("Cannot delete attributes")
521
522 def update(self, other):
523 # type: (NetCache) -> None
524 for co in other._caches_list:
525 if hasattr(self, co.name):
526 getattr(self, co.name).update(co)
527 else:
528 self.add_cache(co.copy())
529
530 def flush(self):
531 # type: () -> None

Callers 1

__str__Method · 0.45

Calls 2

add_cacheMethod · 0.95
copyMethod · 0.45

Tested by

no test coverage detected