MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __rmod__

Method __rmod__

tools/python-3.11.9-amd64/Lib/_pydecimal.py:1503–1508  ·  view source on GitHub ↗

Swaps self/other and returns __mod__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1501 return remainder
1502
1503 def __rmod__(self, other, context=None):
1504 """Swaps self/other and returns __mod__."""
1505 other = _convert_other(other)
1506 if other is NotImplemented:
1507 return other
1508 return other.__mod__(self, context=context)
1509
1510 def remainder_near(self, other, context=None):
1511 """

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__mod__Method · 0.45

Tested by

no test coverage detected