mirror of
https://github.com/python/cpython.git
synced 2025-10-29 12:44:56 +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 @@ def __iadd__(self, other):
|
||||||
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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue