MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/scapypipes.py:594–597  ·  view source on GitHub ↗
(self, f, name=None)

Source from the content-addressed store, hash-verified

592 """
593
594 def __init__(self, f, name=None):
595 # type: (Callable[..., None], Optional[str]) -> None
596 Drain.__init__(self, name=name)
597 self.f = f
598
599 def push(self, msg):
600 # type: (str) -> None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected