Your IP : 18.188.218.140


Current Path : /opt/alt/python38/lib64/python3.8/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/lib2to3/pgen2/__pycache__/literals.cpython-38.opt-2.pyc

U

i�fc�@sLddlZdddddddd	d
dd�
Zd
d�Zdd�Zdd�ZedkrHe�dS)�N����
�
�	��'�"�\)
�a�b�f�n�r�t�vr	r
rcCs�|�dd�\}}t�|�}|dk	r&|S|�d�r�|dd�}t|�dkrTtd|��zt|d�}Wq�tk
r�td|�d�Yq�Xn2zt|d�}Wn"tk
r�td|�d�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�tailZescZhexes�i�r$�;/opt/alt/python38/lib64/python3.8/lib2to3/pgen2/literals.py�escapes"

r&cCsH|d}|dd�|dkr$|d}|t|�t|��}t�dt|�S)Nr�z)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3}))r�re�subr&)�s�qr$r$r%�
evalString(s
r,cCs@td�D]2}t|�}t|�}t|�}||krt||||�qdS)N�)�ranger�reprr,�print)r#�cr*�er$r$r%�test2sr3�__main__)r(rr&r,r3�__name__r$r$r$r%�<module>s �
	

?>