File: //lib64/python3.9/lib2to3/fixes/__pycache__/fix_reduce.cpython-39.pyc
a
    �DOgE  �                   @   s2   d Z ddlmZ ddlmZ G dd� dej�ZdS )zqFixer for reduce().
Makes sure reduce() is imported from the functools module if reduce is
used in that module.
�    )�
fixer_base��touch_importc                   @   s    e Zd ZdZdZdZdd� ZdS )�	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                 C   s   t dd|� d S )N�	functools�reducer   )�selfZnode�results� r   �0/usr/lib64/python3.9/lib2to3/fixes/fix_reduce.py�	transform"