Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.6/lib2to3/fixes/__pycache__/ |
Upload File : |
3 \ � @ sF d dl mZ d dlmZmZmZmZmZmZm Z G dd� dej �ZdS )� )� fixer_base)�Attr�Call�Name�Number� Subscript�Node�symsc @ s: e Zd ZdddgZdZddjdd� eD �� Zd d � ZdS )� FixSysExc�exc_type� exc_value� exc_tracebackTzN power< 'sys' trailer< dot='.' attribute=(%s) > > �|c c s | ]}d | V qdS )z'%s'N� )�.0�er r �1/usr/lib64/python3.6/lib2to3/fixes/fix_sys_exc.py� <genexpr> s zFixSysExc.<genexpr>c C st |d d }t | jj|j��}ttd�|jd�}ttd�|�}|d j|d jd _|j t |�� ttj ||jd�S )NZ attribute� �exc_info)�prefix�sys�dot� )r r �index�valuer r r r Zchildren�appendr r r Zpower)�selfZnodeZresultsZsys_attrr Zcall�attrr r r � transform s zFixSysExc.transformN)�__name__� __module__�__qualname__r Z BM_compatible�joinZPATTERNr r r r r r s r N)� r Z fixer_utilr r r r r r r ZBaseFixr r r r r �<module> s $