Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_apply.cpython-311.pyc
�

�,d*	��h�dZddlmZddlmZddlmZddlmZmZm	Z	Gd�dej
��ZdS)	zIFixer for apply().

This converts apply(func, v, k) into (func)(*v, **k).�)�pytree)�token)�
fixer_base)�Call�Comma�parenthesizec��eZdZdZdZd�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��|j}|sJ�|d}|d}|�d��}|r+|j|jjkr|jdjdvrdS|r-|j|jjkr|jdjdkrdS|j}|���}|jtj	|j
fvr?|j|jks |jdjtjkrt|��}d|_|���}d|_|�|���}d|_tjtjd	��|g}|�N|�t%��tjtjd��|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/python311/lib64/python3.11/lib2to3/fixes/fix_apply.py�	transformzFixApply.transforms����y�������v����v����{�{�6�"�"���	��	�T�Y�/�/�/��
�a� �&�+�5�5����	�T�Y�$�)�"4�4�4��]�1�%�+�t�3�3��F�����z�z�|�|���I�e�j�$�)�4�4�4�
�Y�$�*�
$�
$�
�]�2�
�
#�u�'7�
7�
7���%�%�D�����z�z�|�|��������:�:�<�<�D��D�K��[���S�1�1�4�8�	������e�g�g�$�k�%�*:�D�A�A�"�$�
%�
%�
%�$'�I�b�M� ��D�)�F�3�3�3�3�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr)�r*r(r
r
s/�������M��G�%4�%4�%4�%4�%4r*r
N)�__doc__rr�pgen2rr�
fixer_utilrrr�BaseFixr
r0r*r(�<module>r5s���9�9�
������������������2�2�2�2�2�2�2�2�2�2�64�64�64�64�64�z�!�64�64�64�64�64r*

ZeroDay Forums Mini