관리-도구
편집 파일: fix_set_literal.cpython-35.pyc
��Yf� � @ 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)z: Optional fixer to transform set() calls to set literals. � )� fixer_base�pytree)�token�symsc @ s. e Z d Z d Z d Z d Z d d � Z d S)� FixSetLiteralTaj 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 _ | S)N�single�items�{c s s | ] } | j � Vq d S)N)�clone)�.0�n� r �B/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_set_literal.py� <genexpr>'