add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
1
2
3
4
5
6
7
8
U

�AT^c@s>dZddlmZddlmZddlmZGdd�dej�ZdS)z-Fixer that turns 1L into 1, 0755 into 0o755.
i)�token)�
fixer_base)�Numberc@s"eZdZejZdd�Zdd�ZdS)�FixNumliteralscCs|j�d�p|jddkS)N�0������Ll)�value�
startswith)�self�node�r�5/usr/lib64/python3.8/lib2to3/fixes/fix_numliterals.py�matchszFixNumliterals.matchcCs`|j}|ddkr |dd�}n2|�d�rR|��rRtt|��dkrRd|dd�}t||jd�S)NrrriZ0o)�prefix)rrZisdigitZlenZsetrr)r	r
ZresultsZvalrrr�	transforms"zFixNumliterals.transformN)Z__name__Z
__module__Z__qualname__rZNUMBERZ_accept_typer
rrrrrrsrN)	Z__doc__Zpgen2rZrZ
fixer_utilrZBaseFixrrrrrZ<module>s