Your IP : 3.140.188.174


Current Path : /opt/alt/python36/lib64/python3.6/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/lib2to3/pgen2/__pycache__/literals.cpython-36.opt-2.pyc

3

��2aO�@sLddlZdddddddd	d
dd�
Zd
d�Zdd�Zdd�ZedkrHe�dS)�N����
�
�	��'�"�\)
�a�b�f�n�r�t�vr	r
rcCs�|jdd�\}}tj|�}|dk	r&|S|jd�r�|dd�}t|�dkrTtd|��yt|d�}Wq�tk
r�td|��Yq�Xn0yt|d�}Wn tk
r�td|��YnXt|�S)	Nr��x�z!invalid hex string escape ('\%s')��z#invalid octal string escape ('\%s'))�group�simple_escapes�get�
startswith�len�
ValueError�int�chr)�m�all�tail�escZhexes�i�r%�-/opt/alt/python36/lib64/python3.6/literals.py�escapes"

r'cCsH|d}|dd�|dkr$|d}|t|�t|��}tjdt|�S)Nr�z)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3}))r�re�subr')�s�qr%r%r&�
evalString(s
r-cCsDx>td�D]2}t|�}t|�}t|�}||kr
t||||�q
WdS)N�)�ranger�reprr-�print)r$�cr+�er%r%r&�test2sr4�__main__)r)rr'r-r4�__name__r%r%r%r&�<module>s
	

?>