Returns `other` modulo `self`. Args: other: Another Dimension, or a value accepted by `as_dimension`. Returns: A Dimension whose value is `other` modulo `self`.
(self, other)
| 584 | return Dimension(self._value % other.value) |
| 585 | |
| 586 | def __rmod__(self, other): |
| 587 | """Returns `other` modulo `self`. |
| 588 | |
| 589 | Args: |
| 590 | other: Another Dimension, or a value accepted by `as_dimension`. |
| 591 | |
| 592 | Returns: |
| 593 | A Dimension whose value is `other` modulo `self`. |
| 594 | """ |
| 595 | other = as_dimension(other) |
| 596 | return other % self |
| 597 | |
| 598 | def __lt__(self, other): |
| 599 | """Returns True if `self` is known to be less than `other`. |
nothing calls this directly
no test coverage detected