Hacked By AnonymousFox

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

�

�Q�f���R�	ddlmZddlmZddd�ZGd�dej
�Zy)	�)�token)�
fixer_base�chr�str)�unichr�unicodec�,��eZdZdZdZ�fd�Zd�Z�xZS)�
FixUnicodeTzSTRING | 'unicode' | 'unichr'c�T��tt|�||�d|jv|_y)N�unicode_literals)�superr
�
start_tree�future_featuresr)�self�tree�filename�	__class__s   ��@/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_unicode.pyrzFixUnicode.start_trees'���
�j�$�*�4��:� 2�d�6J�6J� J���c	�$�|jtjk(r*|j�}t|j
|_|S|jtjk(r�|j
}|jsY|ddvrRd|vrNdj|jd�D�cgc]$}|jdd�jdd���&c}�}|dd	vr|d
d}||j
k(r|S|j�}||_|Sycc}w)N�z'"�\z\\z\uz\\uz\Uz\\U�uU�)�typer�NAME�clone�_mapping�value�STRINGr�join�split�replace)r�node�results�new�val�vs      r�	transformzFixUnicode.transforms����9�9��
�
�"��*�*�,�C� ����,�C�I��J�
�Y�Y�%�,�,�
&��*�*�C��(�(�S��V�u�_�����j�j� �Y�Y�u�-�"�-���I�I�e�V�,�4�4�U�F�C�-�"����1�v��~��!�"�g���d�j�j� ����*�*�,�C��C�I��J�'��"s�&)D
)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNrr)�
__classcell__)rs@rr
r
s����M�-�G�K�rr
N)�pgen2r�rr�BaseFixr
�rr�<module>r4s.������%�0����#�#�r

Hacked By AnonymousFox1.0, Coded By AnonymousFox