MCPcopy Index your code
hub / github.com/python/cpython / __rmod__

Method __rmod__

Lib/_pydecimal.py:1447–1452  ·  view source on GitHub ↗

Swaps self/other and returns __mod__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1445 return remainder
1446
1447 def __rmod__(self, other, context=None):
1448 """Swaps self/other and returns __mod__."""
1449 other = _convert_other(other)
1450 if other is NotImplemented:
1451 return other
1452 return other.__mod__(self, context=context)
1453
1454 def remainder_near(self, other, context=None):
1455 """

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__mod__Method · 0.45

Tested by

no test coverage detected