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

Method __rdivmod__

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

Swaps self/other and returns __divmod__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1467 return quotient, remainder
1468
1469 def __rdivmod__(self, other, context=None):
1470 """Swaps self/other and returns __divmod__."""
1471 other = _convert_other(other)
1472 if other is NotImplemented:
1473 return other
1474 return other.__divmod__(self, context=context)
1475
1476 def __mod__(self, other, context=None):
1477 """

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__divmod__Method · 0.45

Tested by

no test coverage detected