Swaps self/other and returns __divmod__.
(self, other, context=None)
| 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 | """ |
nothing calls this directly
no test coverage detected