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

Method __rdivmod__

Lib/_pydecimal.py:1413–1418  ·  view source on GitHub ↗

Swaps self/other and returns __divmod__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1411 return quotient, remainder
1412
1413 def __rdivmod__(self, other, context=None):
1414 """Swaps self/other and returns __divmod__."""
1415 other = _convert_other(other)
1416 if other is NotImplemented:
1417 return other
1418 return other.__divmod__(self, context=context)
1419
1420 def __mod__(self, other, context=None):
1421 """

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__divmod__Method · 0.45

Tested by

no test coverage detected