AlkantarClanX12

Your IP : 3.133.117.107


Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_map.cpython-311.opt-2.pyc

�

c��f8��z�	ddlmZddlmZddlmZmZmZmZm	Z	ddl
mZddl
mZGd�dej��ZdS)	�)�token)�
fixer_base)�Name�ArgList�Call�ListComp�in_special_context)�python_symbols)�Nodec� �eZdZdZdZdZd�ZdS)�FixMapTaL
    map_none=power<
        'map'
        trailer< '(' arglist< 'None' ',' arg=any [','] > ')' >
        [extra_trailers=trailer*]
    >
    |
    map_lambda=power<
        'map'
        trailer<
            '('
            arglist<
                lambdef< 'lambda'
                         (fp=NAME | vfpdef< '(' fp=NAME ')'> ) ':' xp=any
                >
                ','
                it=any
            >
            ')'
        >
        [extra_trailers=trailer*]
    >
    |
    power<
        'map' args=trailer< '(' [any] ')' >
        [extra_trailers=trailer*]
    >
    zfuture_builtins.mapc�N�|�|��rdSg}d|vr2|dD])}|�|������*|jjt
jkrQ|�|d��|���}d|_ttd��|g��}�n�d|vr{t|d���|d���|d�����}tt
j
|g|zd�	��}�n_d
|vr"|d���}d|_n�d|vr�|d}|jt
jkr�|jd
jt
jkrd|jd
jdjt"jkr9|jd
jdjdkr|�|d��dStt
j
td��|���g��}d|_t)|��rdStt
j
td��t+|g��g|z��}d|_|j|_|S)N�extra_trailerszYou should use a for loop here��list�
map_lambda�xp�fp�it)�prefix�map_none�arg�args���Nonezjcannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence�map)�should_skip�append�clone�parent�type�syms�simple_stmt�warningrrrrr�power�trailer�children�arglistr�NAME�valuer	r)�self�node�results�trailers�t�newrs       �</opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_map.py�	transformzFixMap.transform@sn�����D�!�!�	��F����w�&�&��-�.�
+�
+��������	�	�*�*�*�*��;��t�/�/�/��L�L��?�@�@�@��*�*�,�,�C��C�J��t�F�|�|�c�U�+�+�C�C�
�W�
$�
$��7�4�=�.�.�0�0�"�4�=�.�.�0�0�"�4�=�.�.�0�0�2�2�C��t�z�C�5�8�#3�B�?�?�?�C�C��W�$�$��e�n�*�*�,�,����
�
��W�$�$�"�6�?�D��y�D�L�0�0��}�Q�'�,���<�<��}�Q�'�0��3�8�E�J�F�F��}�Q�'�0��3�9�V�C�C����T�,N�O�O�O����t�z�D��K�K������+F�G�G�C�!#�C�J�%�d�+�+� ��4��t�z�D��L�L�'�3�%�.�.�#A�H�#L�M�M�C��C�J��[��
��
�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERN�skip_onr3�r4r2r
r
s6�������M��G�:$�G�.�.�.�.�.r4r
N)�pgen2rrr�
fixer_utilrrrrr	�pygramr
r#�pytreer�ConditionalFixr
r;r4r2�<module>rAs����&������������J�J�J�J�J�J�J�J�J�J�J�J�J�J�+�+�+�+�+�+�������P�P�P�P�P�Z�
&�P�P�P�P�Pr4