add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
f

��_�c@s2dZddlmZddlmZGdd�dej�ZdS)zpFix "for x in f.xreadlines()" -> "for x in f".

This fixer will also convert g(f.xreadlines) into g(f.__iter__).i)�
fixer_base)�Namec@seZdZdZdZdd�ZdS)�
FixXreadlinesTz�
    power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
    |
    power< any+ trailer< '.' no_call='xreadlines' > >
    cCs@|�d�}|r$|�td|jd��n|�dd�|dD��dS)N�no_callZ__iter__)�prefixcSsg|]}|���qS�)Zclone)Z.0Zxrr�5/usr/lib64/python3.10/lib2to3/fixes/fix_xreadlines.pyZ
<listcomp>sz+FixXreadlines.transform.<locals>.<listcomp>Zcall)ZgetZreplacerr)ZselfZnodeZresultsrrrr�	transforms
zFixXreadlines.transformN)Z__name__Z
__module__Z__qualname__Z
BM_compatibleZPATTERNrrrrrrsrN)Z__doc__ZrZ
fixer_utilrZBaseFixrrrrrZ<module>s