
    dafE                     J    d Z ddlmZ ddlmZ  G d dej
                        Zy)zqFixer for reduce().

Makes sure reduce() is imported from the functools module if reduce is
used in that module.
    )
fixer_basetouch_importc                       e Zd ZdZdZdZd Zy)	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                     t        dd|       y )N	functoolsreducer   )selfnoderesultss      3/root/Python-3.12.4/Lib/lib2to3/fixes/fix_reduce.py	transformzFixReduce.transform"   s    [(D1    N)__name__
__module____qualname__BM_compatibleorderPATTERNr    r   r   r   r      s    MEG2r   r   N)__doc__lib2to3r   lib2to3.fixer_utilr   BaseFixr   r   r   r   <module>r      s$     +2
"" 2r   