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