Fix typo.

This commit is contained in:
Walter Dörwald 2006-03-15 13:36:50 +00:00
parent 598f8a0031
commit 13ed60b504
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@ class Codec(codecs.Codec):
class IncrementalEncoder(codecs.IncrementalEncoder): class IncrementalEncoder(codecs.IncrementalEncoder):
def encode(self, input, final=False): 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): class IncrementalDecoder(codecs.IncrementalDecoder):
def decode(self, input, final=False): 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): class StreamWriter(Codec,codecs.StreamWriter):
pass pass