mirror of https://github.com/python/cpython
Fix typo.
This commit is contained in:
parent
598f8a0031
commit
13ed60b504
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue