Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/lib2to3/fixes/__pycache__/ |
Upload File : |
� �=Og � �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 �1/usr/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'