Your IP : 3.137.186.26


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/pgen2/__pycache__/literals.cpython-312.opt-2.pyc

�

�Q�fc��T�	ddlZdddddddd	d
dd�
Zd
�Zd�Zd�Zedk(re�yy)�N����
�
�	��'�"�\)
�a�b�f�n�r�t�vr
rrc��|jdd�\}}tj|�}|�|S|jd�r9|dd}t	|�dkrtd|z��	t
|d�}t|�S	t
|d�}t|�S#t
$rtd|z�d�wxYw#t
$rtd|z�d�wxYw)	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�esc�hexes�is      �=/opt/alt/python312/lib64/python3.12/lib2to3/pgen2/literals.py�escaper)s�������1�
�I�C��
�
�
�T�
"�C�
���
����s���Q�R����u�:��>��A�D�H�I�I�	T��E�2��A��q�6�M�		V��D�!��A��q�6�M���	T��A�D�H�I�t�S�	T��
�	V��C�d�J�K�QU�U�	V�s�"B�:B-�B*�-Cc��|d}|dd|dzk(r|dz}|t|�t|�}tjdt|�S)Nr�z)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3}))r�re�subr))�s�qs  r(�
evalStringr0(sQ��	�!��A���!�u��!��|�
�a�C��	
�#�a�&�#�a�&���A�
�6�6�>���J�J�c��td�D]7}t|�}t|�}t|�}||k7s�*t	||||��9y)N�)�ranger!�reprr0�print)r'�cr.�es    r(�testr92s@��
�3�Z����F����G���q�M����6��!�Q��1��r1�__main__)r,rr)r0r9�__name__�r1r(�<module>r=sW��C�	�����������	���*K���z���F�r1

?>