Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
Upload File : |
� �/�g � �x � d dl mZ d dlmZ d dl mZ d dlmZmZmZm Z m Z mZ d� Z G d� dej � � ZdS ) � )�pytree)�token)� fixer_base)�Assign�Attr�Name�is_tuple�is_list�symsc # � K � t | � � D ]?\ }}|j t j k r%|j d j dk r|| |dz fV � �@d S )N� �exceptr )� enumerate�typer � except_clause�children�value)�nodes�i�ns �?/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_except.py�find_exceptsr sh � � � ��%� � � &� &���1��6�T�'�'�'��z�!�}�"�h�.�.��%��!��*�o�%�%�%��&� &� c � � e Zd ZdZdZd� ZdS )� FixExceptTa1 try_stmt< 'try' ':' (simple_stmt | suite) cleanup=(except_clause ':' (simple_stmt | suite))+ tail=(['except' ':' (simple_stmt | suite)] ['else' ':' (simple_stmt | suite)] ['finally' ':' (simple_stmt | suite)]) > c �j � | j }d� |d D � � }d� |d D � � }t |� � D �]�\ }}t |j � � dk �r�|j dd� \ }} } | � t dd� � � � � | j t j k �rAt | � � � d� � � }| � � � }d |_ | � |� � |� � � }|j } t | � � D ]!\ }}t |t j � � r n�"t! | � � st# | � � r,t% |t'