AlkantarClanX12

Your IP : 3.145.50.71


Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_apply.cpython-310.opt-2.pyc

o

6��f*	�@sP	ddlmZddlmZddlmZddlmZmZmZGdd�dej	�Z
dS)�)�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	Cs*|j}|d}|d}|�d�}|r#|j|jjkr#|jdjdvr#dS|r6|j|jjkr6|jdjdkr6dS|j}|��}|jtj	|j
fvrY|j|jksU|jdjtjkrYt
|�}d|_|��}d|_|durn|��}d|_t�tjd	�|g}|dur�|�t�t�tjd�|g�d
|d_t|||d�S)N�func�args�kwds�>�*�**r����r
� )�prefix)�syms�get�typeZargument�children�valuerZcloner�NAMEZatomZpower�
DOUBLESTARrrZLeaf�STAR�extendrr)	�selfZnodeZresultsrr	r
rrZ	l_newargs�r�>/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_apply.py�	transforms>
�
zFixApply.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNrrrrrrsrN)rrZpgen2rrZ
fixer_utilrrrZBaseFixrrrrr�<module>s