mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
simple typo that makes regression test test_userstring fail
This commit is contained in:
parent
e1519a1b4d
commit
fa12e13ae7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue