0x1949 Team - FAZEMRX - MANAGER
Edit File: fix_xrange.cpython-310.pyc
o ��bc� � @ sF d Z ddlmZ ddlmZmZmZ ddlmZ G dd� dej�Z dS )z/Fixer that changes xrange(...) into range(...).� )� fixer_base)�Name�Call�consuming_calls)�patcompc sh e Zd ZdZdZ� fdd�Zdd� Zdd� Zd d � Zdd� Z d Z e�e �Z dZe�e�Zdd� Z� ZS )� FixXrangeTz� power< (name='range'|name='xrange') trailer< '(' args=any ')' > rest=any* > c s t t| ��||� t� | _d S �N)�superr � start_tree�set�transformed_xranges��self�tree�filename�� __class__� �//usr/lib/python3.10/lib2to3/fixes/fix_xrange.pyr s zFixXrange.start_treec C s d | _ d S r )r r r r r �finish_tree s zFixXrange.finish_treec C s@ |d }|j dkr| �||�S |j dkr| �||�S tt|���)N�name�xrange�range)�value�transform_xrange�transform_range� ValueError�repr�r �node�resultsr r r r � transform s zFixXrange.transformc C s0 |d }|� td|jd�� | j�t|�� d S )Nr r ��prefix)�replacer r# r �add�idr r r r r $ s zFixXrange.transform_xrangec C sj t |�| jvr1| �|�s3ttd�|d �� g�}ttd�|g|jd�}|d D ]}|�|� q'|S d S d S )Nr �args�listr"