[Python-checkins] r43138 - python/trunk/Lib/codecs.py

walter.doerwald python-checkins at python.org
Sat Mar 18 17:35:17 CET 2006


Author: walter.doerwald
Date: Sat Mar 18 17:35:17 2006
New Revision: 43138

Modified:
   python/trunk/Lib/codecs.py
Log:
Change raise statement to PEP 8 style.


Modified: python/trunk/Lib/codecs.py
==============================================================================
--- python/trunk/Lib/codecs.py	(original)
+++ python/trunk/Lib/codecs.py	Sat Mar 18 17:35:17 2006
@@ -14,8 +14,7 @@
 try:
     from _codecs import *
 except ImportError, why:
-    raise SystemError,\
-          'Failed to load the builtin codecs: %s' % why
+    raise SystemError('Failed to load the builtin codecs: %s' % why)
 
 __all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",
            "BOM_LE", "BOM32_BE", "BOM32_LE", "BOM64_BE", "BOM64_LE",


More information about the Python-checkins mailing list