Current Path : /lib64/python3.8/lib2to3/pgen2/__pycache__/ |
Current File : //lib64/python3.8/lib2to3/pgen2/__pycache__/literals.cpython-38.opt-2.pyc |
U e5dc � @ sL d dl Z dddddddd d dd� Zd d� Zdd� Zdd� ZedkrHe� dS )� N���� � � ��'�"�\) �a�b�f�n�r�t�vr r r c C s� | � dd�\}}t�|�}|d k r&|S |�d�r�|dd � }t|�dk rTtd| ��zt|d�}W q� tk r� td| �d �Y q�X n2zt|d�}W n" tk r� td| �d �Y nX t|�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$ �./usr/lib64/python3.8/lib2to3/pgen2/literals.py�escape s"