commit | add8d8632528d104a3a1e653ec815ed2e2c75b7a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Oct 25 21:58:20 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Oct 25 21:58:20 2000 +0000 |
tree | afea107aed129173fac21bf675ed3976e4f868bf | |
parent | e752baae71b199ae7ec63e0ae376859f7a306764 [diff] |
Fix two typos in __imul__. Closes Bug #117745.
diff --git a/Lib/UserString.py b/Lib/UserString.py index ea3d515..d8eec15 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py
@@ -61,8 +61,8 @@ 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: