From ce36ad8a467d914eb5c91f33835b9eaea18ee93b Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Thu, 30 Aug 2007 01:19:48 +0000 Subject: Raise statement normalization in Lib/. --- Lib/UserString.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/UserString.py') diff --git a/Lib/UserString.py b/Lib/UserString.py index faad148b08..c55c1bf1a7 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): -- cgit v1.2.1