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

Method __init__

scapy/config.py:599–605  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

597 ]
598
599 def __init__(self):
600 self.exts: List[ScapyExt] = []
601 self.all_specs: Dict[str, ScapyExt.ScapyExtSpec] = {}
602 self._loaded: List[str] = []
603 # Add to meta_path as we are an import provider
604 if self not in sys.meta_path:
605 sys.meta_path.append(self)
606
607 def find_spec(self, fullname, path, target=None):
608 if fullname in self.all_specs:

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected