(self, other)
| 315 | return UserString(self.data) |
| 316 | |
| 317 | def __iadd__(self, other): |
| 318 | if isinstance(other, UserString): |
| 319 | self.data += other.data |
| 320 | elif isinstance(other, bytes): |
| 321 | self.data += other |
| 322 | else: |
| 323 | self.data += str(other).encode() |
| 324 | return self |
| 325 | |
| 326 | def __imul__(self, n): |
| 327 | self.data *= n |