(self, other)
| 120 | def __rmod__(self, other): |
| 121 | return self.__class__(f'{other} % {self}') |
| 122 | def __pow__(self, other): |
| 123 | if isinstance(other, F): |
| 124 | return NotImplemented |
| 125 | return self.__class__(f'{self} ** {other}') |
| 126 | def __rpow__(self, other): |
| 127 | return self.__class__(f'{other} ** {self}') |
| 128 | def __eq__(self, other): |