summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/encodings/charmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/charmap.py b/Lib/encodings/charmap.py
index de33b12..9bd93ec 100644
--- a/Lib/encodings/charmap.py
+++ b/Lib/encodings/charmap.py
@@ -36,7 +36,7 @@ class StreamReader(Codec,codecs.StreamReader):
def __init__(self,stream,errors='strict',mapping=None):
- codecs.StreamReader.__init__(self,strict,errors)
+ codecs.StreamReader.__init__(self,stream,errors)
self.mapping = mapping
def decode(self,input,errors='strict'):