summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/encodings')
-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 f0bb4b9..5f5b9cc 100644
--- a/Lib/encodings/charmap.py
+++ b/Lib/encodings/charmap.py
@@ -25,7 +25,7 @@ class StreamWriter(Codec,codecs.StreamWriter):
def __init__(self,stream,errors='strict',mapping=None):
- codecs.StreamWriter.__init__(self,strict,errors)
+ codecs.StreamWriter.__init__(self,stream,errors)
self.mapping = mapping
def encode(self,input,errors='strict'):