Your IP : 52.14.75.147
�
��f� c @ sO d Z d d l m Z m Z d d l m Z m Z Gd d � d e j � Z d S( u:
Optional fixer to transform set() calls to set literals.
i ( u
fixer_baseu pytree( u tokenu symsc B s2 | Ee Z d Z d Z d Z d Z d d � Z d S( u
FixSetLiteraluj power< 'set' trailer< '('
(atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >
|
single=any) ']' >
|
atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >
)
')' > >
c C s | j d � } | rI t j t j | j � g � } | j | � | } n
| d } t j t j d � g } | j
d d � | j D� � | j t j t j
d � � | j j | d
_ t j t j | � } | j | _ t | j � d k r| j d } | j � | j | j d _ n | S( Nu singleu itemsu {c s s | ] } | j � Vq d S( N( u clone( u .0u n( ( uB /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_set_literal.pyu <genexpr>'