0x1949 Team - FAZEMRX - MANAGER
Edit File: fix_apply.cpython-310.pyc
o ��bc* � @ sR d Z ddlmZ ddlmZ ddlmZ ddlmZmZm Z G dd� dej �ZdS ) zIFixer for apply(). This converts apply(func, v, k) into (func)(*v, **k).� )�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 s2 | j }|sJ �|d }|d }|�d�}|r'|j| j jkr'|jd jdv r'd S |r:|j| j jkr:|jd jdkr:d S |j}|�� }|jtj |j fvr]|j|jksY|jd jtjkr]t |�}d|_|�� }d|_|d urr|�� }d|_t�tjd �|g}|d ur�|�t� t�tjd�|g� d |d _t|||d�S )N�func�args�kwds� > �*�**r ���� r � )�prefix)�syms�get�type�argument�children�valuer �cloner �NAME�atom�power� DOUBLESTARr r �Leaf�STAR�extendr r ) �self�node�resultsr r r r r � l_newargs� r% �./usr/lib/python3.10/lib2to3/fixes/fix_apply.py� transform s@ � zFixApply.transformN)�__name__� __module__�__qualname__� BM_compatible�PATTERNr'