summaryrefslogtreecommitdiff
path: root/Lib/UserString.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/UserString.py')
-rwxr-xr-xLib/UserString.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py
index ea3d5155eb..d8eec1566d 100755
--- a/Lib/UserString.py
+++ b/Lib/UserString.py
@@ -61,8 +61,8 @@ class UserString:
def __mul__(self, n):
return self.__class__(self.data*n)
__rmul__ = __mul__
- def __imull__(self, n):
- self.data += n
+ def __imul__(self, n):
+ self.data *= n
return self
# the following methods are defined in alphabetical order: