Your IP : 3.144.6.9


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_sys_exc.cpython-312.opt-2.pyc

�

�Q�f
��`�	ddlmZddlmZmZmZmZmZmZm	Z	Gd�dej�Zy)�)�
fixer_base)�Attr�Call�Name�Number�	Subscript�Node�symsc�T�eZdZgd�ZdZddjd�eD��zZd�Zy)�	FixSysExc)�exc_type�	exc_value�
exc_tracebackTzN
              power< 'sys' trailer< dot='.' attribute=(%s) > >
              �|c#�&K�|]	}d|z���y�w)z'%s'N�)�.0�es  �@/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_sys_exc.py�	<genexpr>zFixSysExc.<genexpr>s����:��A�V�a�Z��s�c��|dd}t|jj|j��}t	td�|j��}ttd�|�}|dj|djd_|jt|��ttj||j��S)N�	attribute��exc_info)�prefix�sys�dot�)rr�index�valuerrrr�children�appendrr	r
�power)�self�node�results�sys_attrr�call�attrs       r�	transformzFixSysExc.transforms����;�'��*���t�}�}�*�*�8�>�>�:�;���D��$�X�_�_�=���D��K��&��%,�U�^�%:�%:��Q������"����I�e�$�%��D�J�J��T�[�[�9�9�N)�__name__�
__module__�__qualname__r�
BM_compatible�join�PATTERNr*rr+rrrs/��9�H��M���H�H�:��:�:�;�G�:r+rN)�r�
fixer_utilrrrrrr	r
�BaseFixrrr+r�<module>r5s*����H�H�H�:�
�"�"�:r+

?>