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
14
15
16
�

�WcBcsZ�dZddlmZddlmZddlmZGd�dej�ZdS)z�Fixer that changes 'a ,b' into 'a, b'.

This also changes '{a :b}' into '{a: b}', but does not touch other
uses of colons.  It does not touch other uses of whitespace.

i)�pytree)�token)�
fixer_basecs��eZdZdZdZejejd�Zejejd�Z	ee	fZ
d�ZdS)�
FixWsCommaTzH
    any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]>
    z,z:cs��|j�}d}|jD]T}||jvr+|j}|j	�rd|vrd|_d}�<|r|j}|sd|_d}�V|S)NFz
�Tz )ZcloneZchildren�SEPS�prefixZisspace)ZselfZnodeZresultsZnewZcommaZchildrs       �3/usr/lib64/python3.12/lib2to3/fixes/fix_ws_comma.py�	transformzFixWsComma.transforms����j�j�l�����\�\�	�	�E���	�	�!�!������>�>�#�#��F�(:�(:�#%�E�L�����5�"�\�\�F�!�6�'*�������
�N)Z__name__Z
__module__Z__qualname__ZexplicitZPATTERNrZLeafrZCOMMAZCOLONrr�r	rrrsf�������H��G�
�F�K�K����S�)�E��F�K�K����S�)�E��5�>�D�����r	rN)Z__doc__rrZpgen2rrZBaseFixrr
r	r�<module>rs|����������������������������#�#����r