Your IP : 18.220.85.96


Current Path : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_numliterals.cpython-35.opt-2.pyc



���]�@sMddlmZddlmZddlmZGdd�dej�ZdS)�)�token)�
fixer_base)�Numberc@s1eZdZejZdd�Zdd�ZdS)�FixNumliteralscCs#|jjd�p"|jddkS)N�0��Ll���)�value�
startswith)�self�node�r�4/opt/alt/python35/lib64/python3.5/fix_numliterals.py�matchszFixNumliterals.matchcCs�|j}|ddkr,|dd�}nG|jd�rs|j�rstt|��dkrsd|dd�}t|d|j�S)NrrrZ0o�prefixr	r	)r
r�isdigit�len�setrr)rr
�results�valrrr�	transforms	3zFixNumliterals.transformN)�__name__�
__module__�__qualname__r�NUMBERZ_accept_typerrrrrrrs	rN)Zpgen2r�rZ
fixer_utilrZBaseFixrrrrr�<module>s

?>