diff Lib/string.py @ 43020:907a45df1295

Raise statement normalization in Lib/.
author Collin Winter <collinw@gmail.com>
date Thu, 30 Aug 2007 01:19:48 +0000
parents 950848117397
children 90c715bc7d30
line wrap: on
line diff
--- a/Lib/string.py	Thu Aug 30 01:15:14 2007 +0000
+++ b/Lib/string.py	Thu Aug 30 01:19:48 2007 +0000
@@ -55,7 +55,7 @@
 
     """
     if len(fromstr) != len(tostr):
-        raise ValueError, "maketrans arguments must have same length"
+        raise ValueError("maketrans arguments must have same length")
     global _idmapL
     if not _idmapL:
         _idmapL = list(_idmap)