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

Method __divmod__

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

Source from the content-addressed store, hash-verified

150 return EDecimal(Decimal.__floordiv__(self, Decimal(other)))
151
152 def __divmod__(self, other):
153 # type: (_Decimal) -> Tuple[EDecimal, EDecimal]
154 r = Decimal.__divmod__(self, Decimal(other))
155 return EDecimal(r[0]), EDecimal(r[1])
156
157 def __mod__(self, other):
158 # type: (_Decimal) -> EDecimal

Callers

nothing calls this directly

Calls 1

EDecimalClass · 0.85

Tested by

no test coverage detected