CasperSecurity

Current Path : /lib/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Current File : //lib/python3.10/lib2to3/fixes/__pycache__/fix_apply.cpython-310.pyc

o

��bc*	�@sRdZddlmZddlmZddlmZddlmZmZm	Z	Gdd�dej
�ZdS)	zIFixer for apply().

This converts apply(func, v, k) into (func)(*v, **k).�)�pytree)�token)�
fixer_base)�Call�Comma�parenthesizec@seZdZdZdZdd�ZdS)�FixApplyTa.
    power< 'apply'
        trailer<
            '('
            arglist<
                (not argument<NAME '=' any>) func=any ','
                (not argument<NAME '=' any>) args=any [','
                (not argument<NAME '=' any>) kwds=any] [',']
            >
            ')'
        >
    >
    c	Cs2|j}|sJ�|d}|d}|�d�}|r'|j|jjkr'|jdjdvr'dS|r:|j|jjkr:|jdjdkr:dS|j}|��}|jtj	|j
fvr]|j|jksY|jdjtjkr]t
|�}d|_|��}d|_|durr|��}d|_t�tjd	�|g}|dur�|�t�t�tjd�|g�d
|d_t|||d�S)N�func�args�kwds�>�*�**r����r
� )�prefix)�syms�get�type�argument�children�valuer�cloner�NAME�atom�power�
DOUBLESTARrr�Leaf�STAR�extendrr)	�self�node�resultsrr	r
rr�	l_newargs�r%�./usr/lib/python3.10/lib2to3/fixes/fix_apply.py�	transforms@
�
zFixApply.transformN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr'r%r%r%r&rsrN)�__doc__rr�pgen2rr�
fixer_utilrrr�BaseFixrr%r%r%r&�<module>s
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY