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

Method __init__

scapy/volatile.py:346–350  ·  view source on GitHub ↗
(self, min, max, seed=None)

Source from the content-addressed store, hash-verified

344 """Instances evaluate to integer sampling without replacement from the given interval""" # noqa: E501
345
346 def __init__(self, min, max, seed=None):
347 # type: (int, int, Optional[int]) -> None
348 self._seed = seed
349 self.seq = RandomEnumeration(min, max, seed)
350 super(RandEnum, self).__init__(min, max)
351
352 def _command_args(self):
353 # type: () -> str

Callers

nothing calls this directly

Calls 2

RandomEnumerationClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected