Your IP : 3.145.12.100


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



��Yf�	�i@s6dZddlZGdd�dej�ZGdd�dej�ZGdd�dej�ZGd	d
�d
eej�ZGdd�deej�Zd
d�Zeje	d��Z
e
jddddddddddddddddd d!d"d#d$d%d&d'd(d)ddddddddddddddddd!d d#d"d%d$d'd&d)d(d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCd+d*d-d,d/d.d1d0d3d2d5d4d7d6d9d8d;d:d=d<d?d>dAd@dCdBi4�dDdE�Ze
dFkr2ddlZeejej�dS)Gz� Python Character Mapping Codec for ROT13.

This codec de/encodes from str to str.

Written by Marc-Andre Lemburg (mal@lemburg.com).
�Nc@s.eZdZddd�Zddd�ZdS)�Codec�strictcCs|jt�t|�fS)N)�	translate�	rot13_map�len)�self�input�errors�r
�5/opt/alt/python35/lib64/python3.5/encodings/rot_13.py�encodeszCodec.encodecCs|jt�t|�fS)N)rrr)rrr	r
r
r�decodeszCodec.decodeN)�__name__�
__module__�__qualname__rr
r
r
r
rr
src@seZdZddd�ZdS)�IncrementalEncoderFcCs
|jt�S)N)rr)rr�finalr
r
rrszIncrementalEncoder.encodeN)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs
|jt�S)N)rr)rrrr
r
rr
szIncrementalDecoder.decodeN)rrrr
r
r
r
rrsrc@seZdZdS)�StreamWriterN)rrrr
r
r
rrsrc@seZdZdS)�StreamReaderN)rrrr
r
r
rrsrcCsFtjdddt�jdt�jdtdtdtdtd	d
�S)N�namezrot-13rr
�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encodingF)	�codecs�	CodecInforrr
rrrrr
r
r
r�getregentry$s	r��A�N�B�O�C�P�D�Q�E�R�F�S�G�T�H�U�I�V�J�W�K�X�L�Y�M�Z�a�n�b�o�c�p�d�q�e�r�f�s�g�t�h�u�i�v�j�w�k�x�l�y�m�zcCs#|jtj|j�d��dS)Nzrot-13)�writerr�read)ZinfileZoutfiler
r
r�rot13lsrV�__main__)�__doc__rrrrrrr�make_identity_dict�ranger�updaterVr�sys�stdin�stdoutr
r
r
r�<module>s�


?>