mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
simple typo that makes regression test test_userstring fail
This commit is contained in:
parent
e1519a1b4d
commit
fa12e13ae7
@ -55,7 +55,7 @@ class UserString:
|
||||
self.data += other.data
|
||||
elif isinstance(other, StringType) or isinstance(other, UnicodeType):
|
||||
self.data += other
|
||||
else
|
||||
else:
|
||||
self.data += str(other)
|
||||
return self
|
||||
def __mul__(self, n):
|
||||
|
Loading…
Reference in New Issue
Block a user