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: 3.138.67.141
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : fix_set_literal.cpython-312.pyc
�


f���R�dZddlmZmZddlmZmZGd�dej�Zy)z:
Optional fixer to transform set() calls to set literals.
�)�
fixer_base�pytree)�token�symsc��eZdZdZdZdZd�Zy)�
FixSetLiteralTajpower< 'set' trailer< '('
                     (atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >
                                |
                                single=any) ']' >
                     |
                     atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >
                     )
                     ')' > >
              c��|jd�}|rGtjtj|j�g�}|j
|�|}n|d}tjtjd�g}|jd�|jD��|jtjtjd��|jj|d_tjtj |�}|j|_t#|j�dk(r=|jd}|j%�|j|jd_|S)	N�single�items�{c3�<K�|]}|j����y�w)N)�clone)�.0�ns  �F/usr/local/python-3.12/lib/python3.12/lib2to3/fixes/fix_set_literal.py�	<genexpr>z*FixSetLiteral.transform.<locals>.<genexpr>'s����9�Q�q�w�w�y�9�s��}�����)�getr�Noder�	listmakerr�replace�Leafr�LBRACE�extend�children�append�RBRACE�next_sibling�prefix�dictsetmaker�len�remove)	�self�node�resultsr
�faker�literal�makerrs	         r�	transformzFixSetLiteral.transforms�����X�&����;�;�t�~�~�����/?�@�D��N�N�4� ��E��G�$�E��;�;�u�|�|�S�1�2�����9�%�.�.�9�9����v�{�{�5�<�<��5�6�"�/�/�6�6��������D�-�-�w�7���{�{����u�~�~��!�#����q�!�A�
�H�H�J�()���E�N�N�2��%���N)�__name__�
__module__�__qualname__�
BM_compatible�explicit�PATTERNr,�r-rrrs���M��H��G�r-rN)	�__doc__�lib2to3rr�lib2to3.fixer_utilrr�BaseFixrr4r-r�<module>r9s$���'�*�)�J�&�&�)r-
© 2025 GrazzMean