Your IP : 18.118.166.161


Current Path : /lib64/python3.6/encodings/__pycache__/
Upload File :
Current File : //lib64/python3.6/encodings/__pycache__/rot_13.cpython-36.pyc

3


 \|	�6@s dZddlZGdd�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)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdD�4�dEdF�Ze
dGk�rddlZeejej�dS)Hz� 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
�/usr/lib64/python3.6/rot_13.py�encodeszCodec.encodecCs|jt�t|�fS)N)rrr)rrr	r
r
r�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rr
r
r
r
rr
s
rc@seZdZddd�ZdS)�IncrementalEncoderFcCs
|jt�S)N)rr)rr�finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs
|jt�S)N)rr)rrrr
r
rr
szIncrementalDecoder.decodeN)F)rrrr
r
r
r
rrsrc@seZdZdS)�StreamWriterN)rrrr
r
r
rrsrc@seZdZdS)�StreamReaderN)rrrr
r
r
rrsrc
Cs"tjdt�jt�jttttdd�S)Nzrot-13F)�namerr
�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)	�codecs�	CodecInforrr
rrrrr
r
r
r�getregentry$sr��N�O�P�Q�R�S�T�U�V�W�X�Y�Z�A�B�C�D�E�F�G�H�I�J�K�L�M�n�o�p�q�r�s�t�u�v�w�x�y�z�a�b�c�d�e�f�g�h�i�j�k�l�m)4r-r.r/r0r1r2r3r4r5r6r7r8r9r r!r"r#r$r%r&r'r(r)r*r+r,rGrHrIrJrKrLrMrNrOrPrQrRrSr:r;r<r=r>r?r@rArBrCrDrErFcCs|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�