summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/utf_16_be.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/encodings/utf_16_be.py')
-rw-r--r--Lib/encodings/utf_16_be.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/encodings/utf_16_be.py b/Lib/encodings/utf_16_be.py
index 2fd28da..63ac608 100644
--- a/Lib/encodings/utf_16_be.py
+++ b/Lib/encodings/utf_16_be.py
@@ -21,7 +21,9 @@ class StreamWriter(Codec,codecs.StreamWriter):
pass
class StreamReader(Codec,codecs.StreamReader):
- pass
+
+ def readline(self, size=None):
+ raise NotImplementedError, '.readline() is not implemented for UTF-16-BE'
### encodings module API