(self, other)
| 629 | return self.build() |
| 630 | |
| 631 | def __div__(self, other): |
| 632 | # type: (Any) -> Self |
| 633 | if isinstance(other, Packet): |
| 634 | cloneA = self.copy() |
| 635 | cloneB = other.copy() |
| 636 | cloneA.add_payload(cloneB) |
| 637 | return cloneA |
| 638 | elif isinstance(other, (bytes, str, bytearray, memoryview)): |
| 639 | return self / conf.raw_layer(load=bytes_encode(other)) |
| 640 | else: |
| 641 | return other.__rdiv__(self) # type: ignore |
| 642 | __truediv__ = __div__ |
| 643 | |
| 644 | def __rdiv__(self, other): |
nothing calls this directly
no test coverage detected