(self, other)
| 591 | return self.__class__(int(self) + other) |
| 592 | |
| 593 | def __sub__(self, other): |
| 594 | if not isinstance(other, int): |
| 595 | return NotImplemented |
| 596 | return self.__class__(int(self) - other) |
| 597 | |
| 598 | def __repr__(self): |
| 599 | return '%s(%r)' % (self.__class__.__name__, str(self)) |