(self, other)
| 116 | return self.__class__(self.data + str(other).encode()) |
| 117 | |
| 118 | def __radd__(self, other): |
| 119 | if isinstance(other, bytes): |
| 120 | return self.__class__(other + self.data) |
| 121 | else: |
| 122 | return self.__class__(str(other).encode() + self.data) |
| 123 | |
| 124 | def __mul__(self, n): |
| 125 | return self.__class__(self.data * n) |