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

Method __sub__

scapy/utils.py:128–130  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

126 return EDecimal(Decimal.__add__(self, Decimal(other)))
127
128 def __sub__(self, other):
129 # type: (_Decimal) -> EDecimal
130 return EDecimal(Decimal.__sub__(self, Decimal(other)))
131
132 def __rsub__(self, other):
133 # type: (_Decimal) -> EDecimal

Callers

nothing calls this directly

Calls 1

EDecimalClass · 0.85

Tested by

no test coverage detected