MCPcopy Index your code
hub / github.com/RustPython/RustPython / __rdivmod__

Method __rdivmod__

Lib/_pydecimal.py:1410–1415  ·  view source on GitHub ↗

Swaps self/other and returns __divmod__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__divmod__Method · 0.45

Tested by

no test coverage detected