403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.217.93
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : sembi4241 ( 1126)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.10/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.10/lib2to3/fixes/__pycache__/fix_set_literal.cpython-310.pyc
o

��bc��@s:dZddlmZmZddlmZmZGdd�dej�ZdS)z:
Optional fixer to transform set() calls to set literals.
�)�
fixer_base�pytree)�token�symsc@s eZdZdZdZdZdd�ZdS)�
FixSetLiteralTajpower< 'set' trailer< '('
                     (atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >
                                |
                                single=any) ']' >
                     |
                     atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >
                     )
                     ')' > >
              c	Cs�|�d�}|rt�tj|��g�}|�|�|}n|d}t�tj	d�g}|�
dd�|jD��|�t�tj
d��|jj|d_t�tj|�}|j|_t|j�dkrc|jd	}|��|j|jd_|S)
N�single�items�{css�|]}|��VqdS)N)�clone)�.0�n�r
�4/usr/lib/python3.10/lib2to3/fixes/fix_set_literal.py�	<genexpr>'s�z*FixSetLiteral.transform.<locals>.<genexpr>�}�����)�getr�Noder�	listmakerr
�replace�Leafr�LBRACE�extend�children�append�RBRACE�next_sibling�prefix�dictsetmaker�len�remove)	�self�node�resultsr�faker�literal�makerrr
r
r�	transforms"


zFixSetLiteral.transformN)�__name__�
__module__�__qualname__�
BM_compatible�explicit�PATTERNr)r
r
r
rrs

rN)	�__doc__�lib2to3rr�lib2to3.fixer_utilrr�BaseFixrr
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit