Your IP : 3.22.79.165


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_apply.cpython-312.opt-2.pyc

�

�Q�f*	��h�	ddlmZddlmZddlmZddlmZmZmZGd�dej�Z
y)�)�pytree)�token)�
fixer_base)�Call�Comma�parenthesizec��eZdZdZdZd�Zy)�FixApplyTa.
    power< 'apply'
        trailer<
            '('
            arglist<
                (not argument<NAME '=' any>) func=any ','
                (not argument<NAME '=' any>) args=any [','
                (not argument<NAME '=' any>) kwds=any] [',']
            >
            ')'
        >
    >
    c���|j}|d}|d}|jd�}|r?|j|jjk(r|jdj
dvry|r@|j|jjk(r|jdj
dk(ry|j}|j�}|jtj|jfvrN|j|jk7s*|jdjtjk(rt|�}d|_|j�}d|_|�|j�}d|_tjtj d	�|g}|�H|j#t%�tjtjd�|g�d
|d_t'|||��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_newargss	         �>/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_apply.py�	transformzFixApply.transforms����y�y���v����v����{�{�6�"����	�	�T�Y�Y�/�/�/��
�
�a� �&�&�+�5���T�Y�Y�$�)�)�"4�"4�4��]�]�1�%�+�+�t�3�������z�z�|���I�I�e�j�j�$�)�)�4�4�
�Y�Y�$�*�*�
$�
�]�]�2�
�
#�
#�u�'7�'7�
7���%�D�����z�z�|��������:�:�<�D��D�K��[�[����S�1�4�8�	������e�g�$�k�k�%�*:�*:�D�A�"�$�
%�$'�I�b�M� ��D�)�F�3�3�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr)�r*r(r
r
s���M��G�%4r*r
N)rr�pgen2rr�
fixer_utilrrr�BaseFixr
r0r*r(�<module>r4s-��9�
���2�2�64�z�!�!�64r*

?>