Hacked By AnonymousFox
U
e5d* � @ sN d dl mZ d dlmZ d dl mZ d dlmZmZmZ G dd� dej �Z
dS )� )�pytree)�token)�
fixer_base)�Call�Comma�parenthesizec @ s e Zd ZdZdZdd� 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 C s, | j }|d }|d }|�d�}|rF|j| j jkrF|jd jdkrFd S |rl|j| j jkrl|jd jdkrld S |j}|�� }|jtj |j
fkr�|j|jks�|jd jtjkr�t
|�}d|_|�� }d|_|d k r�|�� }d|_t�tjd �|g}|d k �r|�t� t�tjd�|g� d
|d _t|||d�S )N�func�args�kwds� > �**�*r
���� r � )�prefix)�syms�get�typeZargumentZchildren�valuer Zcloner �NAMEZatomZpower�
DOUBLESTARr r ZLeaf�STAR�extendr r ) �selfZnodeZresultsr r r
r r Z l_newargs� r �//usr/lib64/python3.8/lib2to3/fixes/fix_apply.py� transform sF
��
��
�
zFixApply.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr r r r r r s r N)r r Zpgen2r r Z
fixer_utilr r r ZBaseFixr r r r r �<module> s
Hacked By AnonymousFox1.0, Coded By AnonymousFox