AlkantarClanX12

Your IP : 18.226.200.180


Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_unicode.cpython-310.opt-2.pyc

o

6��f��@s:	ddlmZddlmZddd�ZGdd�dej�ZdS)	�)�token)�
fixer_base�chr�str)ZunichrZunicodecs,eZdZdZdZ�fdd�Zdd�Z�ZS)�
FixUnicodeTzSTRING | 'unicode' | 'unichr'cs"tt|��||�d|jv|_dS)N�unicode_literals)�superr�
start_treeZfuture_featuresr)�selfZtree�filename��	__class__��@/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_unicode.pyr	szFixUnicode.start_treecCs�|jtjkr|��}t|j|_|S|jtjkrQ|j}|js5|ddvr5d|vr5d�dd�|�	d�D��}|ddvrA|dd�}||jkrH|S|��}||_|SdS)	N�z'"�\z\\cSs g|]}|�dd��dd��qS)z\uz\\uz\Uz\\U)�replace)�.0�vrrr�
<listcomp> s��z(FixUnicode.transform.<locals>.<listcomp>ZuU�)
�typer�NAMEZclone�_mapping�value�STRINGr�join�split)r
ZnodeZresults�new�valrrr�	transforms$
�
�zFixUnicode.transform)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr	r �
__classcell__rrrrrs
rN)Zpgen2r�rrZBaseFixrrrrr�<module>s