Your IP : 3.22.42.25
�
�Q�f� � �R � d Z ddlmZmZ ddlmZmZ G d� dej � Zy)z:
Optional fixer to transform set() calls to set literals.
� )�
fixer_base�pytree)�token�symsc � � e Zd ZdZdZdZd� Zy)�
FixSetLiteralTaj power< 'set' trailer< '('
(atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >
|
single=any) ']' >
|
atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >
)
')' > >
c � � |j d� }|rGt j t j |j � g� }|j
|� |}n|d }t j t j d� g}|j d� |j D � � |j t j t j d� � |j j |d _ t j t j |� }|j |_ t# |j � dk( r=|j d }|j% � |j |j d _ |S ) N�single�items�{c 3 �<