summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2004-12-29 13:11:10 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2004-12-29 13:11:10 (GMT)
commite1a0391b4963a079aeaddb45307907cae82e460e (patch)
tree487b127eae056d989179aa137fa7329885f40eb6
parent0aa8ef1545070e4c4ea609c9e8d703131833c700 (diff)
downloadcpython-e1a0391b4963a079aeaddb45307907cae82e460e.zip
cpython-e1a0391b4963a079aeaddb45307907cae82e460e.tar.gz
cpython-e1a0391b4963a079aeaddb45307907cae82e460e.tar.bz2
Fix wrong variable name.
-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'):