Your IP : 3.22.242.169


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_reduce.cpython-312.pyc

�

�Q�fE��J�dZddlmZddlmZGd�dej
�Zy)zqFixer for reduce().

Makes sure reduce() is imported from the functools module if reduce is
used in that module.
�)�
fixer_base��touch_importc��eZdZdZdZdZd�Zy)�	FixReduceT�preai
    power< 'reduce'
        trailer< '('
            arglist< (
                (not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any) |
                (not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any)
            ) >
        ')' >
    >
    c��tdd|�y)N�	functools�reducer)�self�node�resultss   �?/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_reduce.py�	transformzFixReduce.transform"s���[�(�D�1�N)�__name__�
__module__�__qualname__�
BM_compatible�order�PATTERNr�rrrrs���M��E��G�2rrN)�__doc__�lib2to3r�lib2to3.fixer_utilr�BaseFixrrrr�<module>rs$����+�2�
�"�"�2r

?>