(self, other)
| 398 | return UserString(self.data) |
| 399 | |
| 400 | def __iadd__(self, other): |
| 401 | if isinstance(other, UserString): |
| 402 | self.data += other.data |
| 403 | elif isinstance(other, bytes): |
| 404 | self.data += other |
| 405 | else: |
| 406 | self.data += str(other).encode() |
| 407 | return self |
| 408 | |
| 409 | def __imul__(self, n): |
| 410 | self.data *= n |