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

Method __add__

scapy/utils.py:120–122  ·  view source on GitHub ↗
(self, other, context=None)

Source from the content-addressed store, hash-verified

118 """
119
120 def __add__(self, other, context=None):
121 # type: (_Decimal, Any) -> EDecimal
122 return EDecimal(Decimal.__add__(self, Decimal(other)))
123
124 def __radd__(self, other):
125 # type: (_Decimal) -> EDecimal

Callers 1

__radd__Method · 0.45

Calls 1

EDecimalClass · 0.85

Tested by

no test coverage detected