Your IP : 3.137.186.26


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_numliterals.cpython-312.pyc

�

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

?>