AlkantarClanX12

Your IP : 13.58.188.166


Current Path : /opt/alt/python37/lib64/python3.7/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/lib2to3/fixes/__pycache__/fix_apply.cpython-37.opt-2.pyc

B

YI~d*	�@sNddlmZddlmZddlmZddlmZmZmZGdd�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�}|rF|j|jjkrF|jdjdkrFdS|rl|j|jjkrl|jdjdkrldS|j}|��}|jtj	|j
fkr�|j|jks�|jdjtjkr�t
|�}d|_|��}d|_|dk	r�|��}d|_t�tjd	�|g}|dk	�r|�t�t�tjd�|g�d
|d_t|||d�S)N�func�args�kwds�>�**�*z**����r� )�prefix)�syms�get�type�argumentZchildren�valuerZcloner�NAMEZatomZpower�
DOUBLESTARrrZLeaf�STAR�extendrr)	�selfZnode�resultsrr	r
rrZ	l_newargs�r�</opt/alt/python37/lib64/python3.7/lib2to3/fixes/fix_apply.py�	transforms<


zFixApply.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr rrrrrsrN)rrZpgen2rrZ
fixer_utilrrrZBaseFixrrrrr�<module>	s