simple typo that makes regression test test_userstring fail

This commit is contained in:
Peter Schneider-Kamp 2000-08-24 21:47:34 +00:00
parent e1519a1b4d
commit fa12e13ae7

View file

@ -55,7 +55,7 @@ class UserString:
self.data += other.data self.data += other.data
elif isinstance(other, StringType) or isinstance(other, UnicodeType): elif isinstance(other, StringType) or isinstance(other, UnicodeType):
self.data += other self.data += other
else else:
self.data += str(other) self.data += str(other)
return self return self
def __mul__(self, n): def __mul__(self, n):