File: //lib64/python3.9/lib2to3/fixes/__pycache__/fix_operator.cpython-39.opt-2.pyc
a
    �DOgb
  �                   @   sJ   d dl Zd dlmZ d dlmZmZmZmZ dd� Z	G dd� dej
�ZdS )�    N)�
fixer_base)�Call�Name�String�touch_importc                    s   � fdd�}|S )Nc                    s
   � | _ | S �N)�
invocation)�f��s� �2/usr/lib64/python3.9/lib2to3/fixes/fix_operator.py�dec   s    zinvocation.<locals>.decr   )r   r   r   r
   r
   r      s    r   c                   @   s�   e Zd ZdZdZdZdZdeeed� Zdd� Z	e
d	�d
d� �Ze
d�d
d� �Ze
d�dd� �Z
e
d�dd� �Ze
d�dd� �Ze
d�dd� �Ze
d�dd� �Zdd� Zd d!� Zd"d#� Zd$S )%�FixOperatorT�prez�
              method=('isCallable'|'sequenceIncludes'
                     |'isSequenceType'|'isMappingType'|'isNumberType'
                     |'repeat'|'irepeat')
              z'(' obj=any ')'z�
              power< module='operator'
                trailer< '.' %(methods)s > trailer< %(obj)s > >
              |
              power< %(methods)s trailer< %(obj)s > >
              )�methods�objc                 C   s"