summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-08-24 21:47:34 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-08-24 21:47:34 (GMT)
commitfa12e13ae7e5a95f83e4880f518f32f083bdd010 (patch)
treecd0e248dc3296b922aa6c8136ec0064e03feb03b
parente1519a1b4d8e24ab6a98083c6ec8bf4ec7594111 (diff)
downloadcpython-fa12e13ae7e5a95f83e4880f518f32f083bdd010.zip
cpython-fa12e13ae7e5a95f83e4880f518f32f083bdd010.tar.gz
cpython-fa12e13ae7e5a95f83e4880f518f32f083bdd010.tar.bz2
simple typo that makes regression test test_userstring fail
-rwxr-xr-xLib/UserString.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py
index 34f3216..ea3d515 100755
--- a/Lib/UserString.py
+++ b/Lib/UserString.py
@@ -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):