summaryrefslogtreecommitdiffstats
path: root/Lib/UserString.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/UserString.py')
-rwxr-xr-xLib/UserString.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py
index faad148..c55c1bf 100755
--- a/Lib/UserString.py
+++ b/Lib/UserString.py
@@ -183,7 +183,7 @@ class MutableString(UserString):
def __init__(self, string=""):
self.data = string
def __hash__(self):
- raise TypeError, "unhashable type (it is mutable)"
+ raise TypeError("unhashable type (it is mutable)")
def __setitem__(self, index, sub):
if isinstance(index, slice):
if isinstance(sub, UserString):