Your IP : 18.191.195.180


Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_sys_exc.cpython-310.opt-2.pyc

o

6��f
�@sH	ddlmZddlmZmZmZmZmZmZm	Z	Gdd�dej
�ZdS)�)�
fixer_base)�Attr�Call�Name�Number�	Subscript�Node�symsc@s8eZdZgd�ZdZdd�dd�eD��Zdd�Zd	S)
�	FixSysExc)�exc_type�	exc_value�
exc_tracebackTzN
              power< 'sys' trailer< dot='.' attribute=(%s) > >
              �|ccs�|]}d|VqdS)z'%s'N�)�.0�err�@/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_sys_exc.py�	<genexpr>s�zFixSysExc.<genexpr>cCst|dd}t|j�|j��}ttd�|jd�}ttd�|�}|dj|djd_|�	t
|��ttj
||jd�S)NZ	attribute��exc_info)�prefix�sys�dot�)rr�index�valuerrrr�children�appendrrr	Zpower)�selfZnodeZresultsZsys_attrrZcall�attrrrr�	transformszFixSysExc.transformN)�__name__�
__module__�__qualname__rZ
BM_compatible�joinZPATTERNr rrrrr
s�r
N)�rZ
fixer_utilrrrrrrr	ZBaseFixr
rrrr�<module>s
$

?>