AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.145.74.228
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/983/cwd/lib64/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/983/cwd/lib64/python2.7/lib2to3/fixes/fix_set_literal.pyo
�
ۜSec@sOdZddlmZmZddlmZmZdejfd��YZdS(s:
Optional fixer to transform set() calls to set literals.
i����(t
fixer_basetpytree(ttokentsymst
FixSetLiteralcBs#eZeZeZdZd�ZRS(sjpower< '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
d�|jD��|jtjtj
d��|jj|d_tjtj|�}|j|_t|j�dkr|jd}|j�|j|jd_n|S(	Ntsingletitemsu{css|]}|j�VqdS(N(tclone(t.0tn((s5/usr/lib64/python2.7/lib2to3/fixes/fix_set_literal.pys	<genexpr>'su}i����ii(tgetRtNodeRt	listmakerRtreplacetLeafRtLBRACEtextendtchildrentappendtRBRACEtnext_siblingtprefixtdictsetmakertlentremove(	tselftnodetresultsRtfakeRtliteraltmakerR	((s5/usr/lib64/python2.7/lib2to3/fixes/fix_set_literal.pyt	transforms"
	


(t__name__t
__module__tTruet
BM_compatibletexplicittPATTERNR(((s5/usr/lib64/python2.7/lib2to3/fixes/fix_set_literal.pyRs
N(	t__doc__tlib2to3RRtlib2to3.fixer_utilRRtBaseFixR(((s5/usr/lib64/python2.7/lib2to3/fixes/fix_set_literal.pyt<module>s

Anon7 - 2022
AnonSec Team