summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/utf_32.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/encodings/utf_32.py')
-rw-r--r--Lib/encodings/utf_32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/utf_32.py b/Lib/encodings/utf_32.py
index 4bbd22a..f0b7709 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