diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 +0000 |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 +0000 |
commit | 4902e69e40b7f73bbb5e02a64260a8cf03651c80 (patch) | |
tree | 12a2c1b76a83be906e764c5d36e3055232ef70da /Lib/encodings | |
parent | Kill more lingering string exceptions in Lib/plat-mac/. (diff) | |
download | cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.gz cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.bz2 cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.zip |
More raise statement normalization.
Diffstat (limited to 'Lib/encodings')
-rw-r--r-- | Lib/encodings/utf_32.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/utf_32.py b/Lib/encodings/utf_32.py index 4bbd22a019e..f0b7709a23c 100644 --- a/Lib/encodings/utf_32.py +++ b/Lib/encodings/utf_32.py @@ -127,7 +127,7 @@ class StreamReader(codecs.StreamReader): elif byteorder == 1: self.decode = codecs.utf_32_be_decode elif consumed>=4: - raise UnicodeError,"UTF-32 stream does not start with BOM" + raise UnicodeError("UTF-32 stream does not start with BOM") return (object, consumed) ### encodings module API |