Viewing File: /opt/alt/python35/lib64/python3.5/encodings/__pycache__/mbcs.cpython-35.pyc



¯ÕYf»ã@s±dZddlmZmZddlZeZddd„ZGdd„dejƒZGd	d
„d
ejƒZGdd„dej	ƒZ	Gd
d„dej
ƒZ
dd„ZdS)zØ Python 'mbcs' Codec for Windows


Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py,
which was written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

é)Úmbcs_encodeÚmbcs_decodeNÚstrictcCst||dƒS)NT)r)ÚinputÚerrors©rú3/opt/alt/python35/lib64/python3.5/encodings/mbcs.pyÚdecodesr	c@seZdZddd„ZdS)ÚIncrementalEncoderFcCst||jƒdS)Nr)rr)ÚselfrÚfinalrrrÚencodeszIncrementalEncoder.encodeN)Ú__name__Ú
__module__Ú__qualname__r
rrrrr
sr
c@seZdZeZdS)ÚIncrementalDecoderN)rrrrÚ_buffer_decoderrrrrsrc@seZdZeZdS)ÚStreamWriterN)rrrrr
rrrrrsrc@seZdZeZdS)ÚStreamReaderN)rrrrr	rrrrr!srcCs4tjdddtdtdtdtdtdtƒS)	NÚnameÚmbcsr
r	ÚincrementalencoderÚincrementaldecoderÚstreamreaderÚstreamwriter)ÚcodecsÚ	CodecInfor
r	r
rrrrrrrÚgetregentry&s	r)Ú__doc__rrrr
r	r
ÚBufferedIncrementalDecoderrrrrrrrrÚ<module>	s
Back to Directory File Manager