diff options
author | Walter Dörwald <walter@livinglogic.de> | 2006-03-15 13:36:50 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2006-03-15 13:36:50 (GMT) |
commit | 13ed60b5045aafff22918cf4262bcc2dd3afea90 (patch) | |
tree | 3a149fda20d3412284bc08137d81ee7bc6f14c3b /Lib/encodings/mbcs.py | |
parent | 598f8a00311da62446be6cb169bb00a39f45cab3 (diff) | |
download | cpython-13ed60b5045aafff22918cf4262bcc2dd3afea90.zip cpython-13ed60b5045aafff22918cf4262bcc2dd3afea90.tar.gz cpython-13ed60b5045aafff22918cf4262bcc2dd3afea90.tar.bz2 |
Fix typo.
Diffstat (limited to 'Lib/encodings/mbcs.py')
-rw-r--r-- | Lib/encodings/mbcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/encodings/mbcs.py b/Lib/encodings/mbcs.py index 14db973..ff77fde 100644 --- a/Lib/encodings/mbcs.py +++ b/Lib/encodings/mbcs.py @@ -20,11 +20,11 @@ class Codec(codecs.Codec): class IncrementalEncoder(codecs.IncrementalEncoder): def encode(self, input, final=False): - return codecs.mbs_encode(input,self.errors)[0] + return codecs.mbcs_encode(input,self.errors)[0] class IncrementalDecoder(codecs.IncrementalDecoder): def decode(self, input, final=False): - return codecs.mbs_decode(input,self.errors)[0] + return codecs.mbcs_decode(input,self.errors)[0] class StreamWriter(Codec,codecs.StreamWriter): pass |