Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.117.156.84
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : fix_paren.cpython-312.pyc
�


f���N�dZddlmZddlmZmZGd�dej�Zy)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�Zy)�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|_|jd|�|jt	��y)N�target��)r�prefix�insert_child�append_childr)�self�node�resultsr	�lparens     �@/usr/local/python-3.12/lib/python3.12/lib2to3/fixes/fix_paren.py�	transformzFixParen.transform%sE����"������
�
��
���
����A�v�&����F�H�%�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrrs���M��G�,&rrN)�__doc__r
r�
fixer_utilrr�BaseFixrrrr�<module>rs%��C��'� &�z�!�!� &r
© 2025 GrazzMean