diff --git a/Lib/encodings/charmap.py b/Lib/encodings/charmap.py index de33b128788..9bd93ecc334 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'):