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