Your IP : 3.139.93.242


Current Path : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/charmap.cpython-35.pyc



��Yf$�@s�dZddlZGdd�dej�ZGdd�dej�ZGdd�dej�ZGd	d
�d
eej�ZGdd�deej�Zd
d�ZdS)a Generic Python Character Mapping Codec.

    Use this codec directly rather than through the automatic
    conversion mechanisms supplied by unicode() and .encode().


Written by Marc-Andre Lemburg (mal@lemburg.com).

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

�Nc@s"eZdZejZejZdS)�CodecN)�__name__�
__module__�__qualname__�codecs�charmap_encode�encode�charmap_decode�decode�rr�6/opt/alt/python35/lib64/python3.5/encodings/charmap.pyrs	rc@s1eZdZdddd�Zddd�ZdS)�IncrementalEncoder�strictNcCs tjj||�||_dS)N)rr
�__init__�mapping)�self�errorsrrrrrszIncrementalEncoder.__init__FcCstj||j|j�dS)Nr)rrrr)r�input�finalrrrrszIncrementalEncoder.encode)rrrrrrrrrr
sr
c@s1eZdZdddd�Zddd�ZdS)�IncrementalDecoderrNcCs tjj||�||_dS)N)rrrr)rrrrrrr!szIncrementalDecoder.__init__FcCstj||j|j�dS)Nr)rr	rr)rrrrrrr
%szIncrementalDecoder.decode)rrrrr
rrrrr src@s1eZdZdddd�Zddd�ZdS)�StreamWriterrNcCs#tjj|||�||_dS)N)rrrr)r�streamrrrrrr*szStreamWriter.__init__cCstj|||j�S)N)rrr)rrrrrrr.szStreamWriter.encode)rrrrrrrrrr(src@s1eZdZdddd�Zddd�ZdS)�StreamReaderrNcCs#tjj|||�||_dS)N)rrrr)rrrrrrrr3szStreamReader.__init__cCstj|||j�S)N)rr
r)rrrrrrr
7szStreamReader.decode)rrrrr
rrrrr1srcCs:tjdddtjdtjdtdtdtdt�S)	N�name�charmaprr
�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	r�	CodecInforrr
r
rrrrrrr�getregentry<s			r )�__doc__rrr
rrrr rrrr�<module>s	

?>