MCPcopy
hub / github.com/mitmproxy/mitmproxy / FOr

Class FOr

mitmproxy/flowfilter.py:535–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533
534
535class FOr(_Token):
536 def __init__(self, lst):
537 self.lst = lst
538
539 def dump(self, indent=0, fp=sys.stdout):
540 super().dump(indent, fp)
541 for i in self.lst:
542 i.dump(indent + 1, fp)
543
544 def __call__(self, f):
545 return any(i(f) for i in self.lst)
546
547
548class FNot(_Token):

Callers 1

_makeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected