diff --git a/Lib/UserString.py b/Lib/UserString.py index ea3d5155eb9..d8eec1566d0 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: