Hacked By AnonymousFox
o
6��ff; � @ s� d dl mZ d dlmZmZ d dlmZ d dlm Z dd� Z
dd� Zd d
� Zdd� Z
dMdd�Zdd� Zdd� Zdd� Ze� e� fdd�ZdNdd�Zdd� Zdd� ZdMdd�Zd d!� ZdMd"d#�ZdMd$d%�Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zh d0�Zd1d2� Z d3a!d4a"d5a#d6a$d7d8� Z%d9d:� Z&d;d<� Z'd=d>� Z(d?d@� Z)dAdB� Z*dCdD� Z+dEdF� Z,ej-ej.hZ/dMdGdH�Z0ej.ej-ej1hZ2dIdJ� Z3dMdKdL�Z4d
S )O� )�token)�Leaf�Node)�python_symbols)�patcompc C s t tj| ttjd�|g�S )N�=)r �symsZargumentr r �EQUAL)�keyword�value� r �9/opt/alt/python310/lib64/python3.10/lib2to3/fixer_util.py�
KeywordArg s �r c C � t tjd�S )N�()r r �LPARr r r r
�LParen � r c C r )N�))r r �RPARr r r r
�RParen r r c C sJ t | t�s | g} t |t�sd|_|g}ttj| ttjddd�g | �S )N� r ��prefix) �
isinstance�listr r r �atomr r r )�target�sourcer r r
�Assign s
�r Nc C � t tj| |d�S �Nr )r r �NAME)�namer r r r
�Name$ � r$ c C s | t tjt� |g�gS �N)r r �trailer�Dot)�obj�attrr r r
�Attr( s r+ c C � t tjd�S )N�,)r r �COMMAr r r r
�Comma, � r/ c C r, )N�.)r r �DOTr r r r
r( 0 r0 r( c C s6 t tj|�� |�� g�}| r|�dt tj| �� |S )Nr )r r r'