Your IP : 52.14.75.147


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/fix_set_literal.cpython-33.pyo

�
��f�c@sOdZddlmZmZddlmZmZGdd�dej�ZdS(u:
Optional fixer to transform set() calls to set literals.
i(u
fixer_baseupytree(utokenusymscBs2|EeZdZdZdZdZdd�ZdS(u
FixSetLiteralujpower< 'set' trailer< '('
                     (atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >
                                |
                                single=any) ']' >
                     |
                     atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >
                     )
                     ')' > >
              c	Cs|jd�}|rItjtj|j�g�}|j|�|}n
|d}tjtj	d�g}|j
dd�|jD��|jtjtj
d��|jj|d
_tjtj|�}|j|_t|j�dkr|jd	}|j�|j|jd_n|S(Nusingleuitemsu{css|]}|j�VqdS(N(uclone(u.0un((uB/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_set_literal.pyu	<genexpr>'su*FixSetLiteral.transform.<locals>.<genexpr>u}iiii����i����(ugetupytreeuNodeusymsu	listmakerucloneureplaceuLeafutokenuLBRACEuextenduchildrenuappenduRBRACEunext_siblinguprefixudictsetmakerulenuremove(	uselfunodeuresultsusingleufakeuitemsuliteralumakerun((uB/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_set_literal.pyu	transforms"
	


uFixSetLiteral.transformNT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleuexplicituPATTERNu	transform(u
__locals__((uB/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_set_literal.pyu
FixSetLiterals
u
FixSetLiteralN(	u__doc__ulib2to3u
fixer_baseupytreeulib2to3.fixer_utilutokenusymsuBaseFixu
FixSetLiteral(((uB/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_set_literal.pyu<module>s

?>