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

Method f

scapy/pipetool.py:75–80  ·  view source on GitHub ↗
(*args, **kargs)

Source from the content-addressed store, hash-verified

73 dname = attr[6:]
74 if dname in self.pipes:
75 def f(*args, **kargs):
76 # type: (*Any, **Any) -> Pipe
77 k = self.pipes[dname]
78 p = k(*args, **kargs) # type: Pipe
79 self.add(p)
80 return p
81 return f
82 raise AttributeError(attr)
83

Callers 4

pushMethod · 0.80
high_pushMethod · 0.80
pushMethod · 0.80
high_pushMethod · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected