AlkantarClanX12

Your IP : 3.138.175.10


Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_numliterals.cpython-311.pyc

�

c��f��T�dZddlmZddlmZddlmZGd�dej��ZdS)z-Fixer that turns 1L into 1, 0755 into 0o755.
�)�token)�
fixer_base)�Numberc�(�eZdZejZd�Zd�ZdS)�FixNumliteralsc�T�|j�d��p|jddvS)N�0����Ll)�value�
startswith)�self�nodes  �D/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_numliterals.py�matchzFixNumliterals.matchs(���
�%�%�c�*�*�D�d�j��n��.D�E�c��|j}|ddvr|dd�}nV|�d��rA|���r-tt	|����dkr
d|dd�z}t||j���S)Nr
rr	��0o)�prefix)rr
�isdigit�len�setrr)rr�results�vals    r�	transformzFixNumliterals.transforms����j���r�7�d�?�?��c�r�c�(�C�C�
�^�^�C�
 �
 �	!�S�[�[�]�]�	!�s�3�s�8�8�}�}�q�7H�7H���Q�R�R��.�C��c�$�+�.�.�.�.rN)�__name__�
__module__�__qualname__r�NUMBER�_accept_typerr�rrrrs>�������<�L�F�F�F�/�/�/�/�/rrN)	�__doc__�pgen2r�r�
fixer_utilr�BaseFixrr"rr�<module>r(s~����������������������/�/�/�/�/�Z�'�/�/�/�/�/r