| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/local/lib/python3.10/lib2to3/__pycache__/ |
Upload File : |
o
䪺i" � @ sR d dl Z ddlmZ ddlmZ ddlmZ G dd� de�ZG dd � d e�Z dS )
� N� )�PatternCompiler)�pygram)�does_tree_importc @ s� e Zd Z dZdZdZdZdZe� d�Z
e� ZdZ
dZdZdZdZdZejZdd� Zdd � Zd
d� Zdd
� Zdd� Zddd�Zdd� Zddd�Zdd� Zdd� Zdd� Z dS )�BaseFixNr ZpostF� c C s || _ || _| �� d S �N)�options�log�compile_pattern)�selfr r
� r
�//usr/local/lib/python3.10/lib2to3/fixer_base.py�__init__/ s zBaseFix.__init__c C s2 | j d urt� }|j| j dd�\| _| _d S d S )NT)Z with_tree)�PATTERNr r �pattern�pattern_tree)r ZPCr
r
r r ; s
��zBaseFix.compile_patternc C s || _ d S r )�filename)r r r
r
r �set_filenameF s
zBaseFix.set_filenamec C s d|i}| j �||�o
|S )N�node)r �match�r r �resultsr
r
r r M s z
BaseFix.matchc C s t � �r )�NotImplementedErrorr r
r
r � transformY s
zBaseFix.transform�xxx_todo_changemec C s<