commit | ce36ad8a467d914eb5c91f33835b9eaea18ee93b | [log] [tgz] |
---|---|---|
author | Collin Winter <collinw@gmail.com> | Thu Aug 30 01:19:48 2007 +0000 |
committer | Collin Winter <collinw@gmail.com> | Thu Aug 30 01:19:48 2007 +0000 |
tree | 05bf654f3359e20b455dc300bd860bba5d291c8d | |
parent | 8b3febef2f96c35e9aad9db2ef499db040fdefae [diff] [blame] |
Raise statement normalization in Lib/.
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 @@ 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):