AlkantarClanX12

Your IP : 3.144.8.68


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/pgen2/__pycache__/literals.cpython-33.pyo

�
��fOc@s�dZddlZi
dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6Zdd�Zdd�Zdd�Zedkr�e�ndS(u<Safely evaluate Python string literals without using eval().iNuuauubuufu
unu
uru	utuuvu'u"u\cCs�|jdd�\}}tj|�}|dk	r7|S|jd�r�|dd�}t|�dkr{td|��nyt|d�}Wq�tk
r�td|��Yq�Xn8yt|d�}Wn"tk
r�td|��YnXt|�S(	Niiuxiu!invalid hex string escape ('\%s')iiu#invalid octal string escape ('\%s')(	ugroupusimple_escapesugetuNoneu
startswithulenu
ValueErroruintuchr(umuallutailuescuhexesui((u;/opt/alt/python33/lib64/python3.3/lib2to3/pgen2/literals.pyuescapes"

uescapecCsa|d}|dd�|dkr1|d}n|t|�t|��}tjdt|�S(Niiu)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})(ulenureusubuescape(usuq((u;/opt/alt/python33/lib64/python3.3/lib2to3/pgen2/literals.pyu
evalString(s


u
evalStringcCsaxZtd�D]L}t|�}t|�}t|�}||kr
t||||�q
q
WdS(Ni(urangeuchrurepru
evalStringuprint(uiucusue((u;/opt/alt/python33/lib64/python3.3/lib2to3/pgen2/literals.pyutest2sutestu__main__(u__doc__ureusimple_escapesuescapeu
evalStringutestu__name__(((u;/opt/alt/python33/lib64/python3.3/lib2to3/pgen2/literals.pyu<module>s