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

Method __deepcopy__

scapy/packet.py:269–274  ·  view source on GitHub ↗

Used by copy.deepcopy

(self,
                     memo,  # type: Any
                     )

Source from the content-addressed store, hash-verified

267 return self
268
269 def __deepcopy__(self,
270 memo, # type: Any
271 ):
272 # type: (...) -> Packet
273 """Used by copy.deepcopy"""
274 return self.copy()
275
276 def init_fields(self, for_dissect_only=False):
277 # type: (bool) -> None

Callers

nothing calls this directly

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected