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

Method __rdiv__

scapy/packet.py:644–649  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

642 __truediv__ = __div__
643
644 def __rdiv__(self, other):
645 # type: (Any) -> Packet
646 if isinstance(other, (bytes, str, bytearray, memoryview)):
647 return conf.raw_layer(load=bytes_encode(other)) / self
648 else:
649 raise TypeError
650 __rtruediv__ = __rdiv__
651
652 def __mul__(self, other):

Callers 1

__div__Method · 0.80

Calls 1

bytes_encodeFunction · 0.90

Tested by

no test coverage detected