$33 GRAYBYTE WORDPRESS FILE MANAGER $62

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/

HOME
Current File : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__//fix_tuple_params.cpython-33.pyo
�
��f�c@s�dZddlmZddlmZddlmZddlmZmZm	Z	m
Z
mZmZdd�Z
Gdd	�d	ej�Zd
d�Zdd
�Zgddd�Zdd�ZdS(u:Fixer for function definitions with tuple parameters.

def func(((a, b), c), d):
    ...

    ->

def func(x, d):
    ((a, b), c) = x
    ...

It will also support lambdas:

    lambda (x, y): x + y -> lambda t: t[0] + t[1]

    # The parens are a syntax error in Python 3
    lambda (x): x + y -> lambda x: x + y
i(upytree(utoken(u
fixer_base(uAssignuNameuNewlineuNumberu	SubscriptusymscCs)t|tj�o(|jdjtjkS(Ni(u
isinstanceupytreeuNodeuchildrenutypeutokenuSTRING(ustmt((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyuis_docstringsuis_docstringcBs>|EeZdZdZdZdZdd�Zdd�ZdS(	uFixTupleParamsiu
              funcdef< 'def' any parameters< '(' args=any ')' >
                       ['->' any] ':' suite=any+ >
              |
              lambda=
              lambdef< 'lambda' args=vfpdef< '(' inner=any ')' >
                       ':' body=any
              >
              cs6d|kr�j||�Sg�|d}|d}|djdjtjkryd}|djdj}t��n!d}d}tjtjd��d
���fd	d
�}|jt
jkr�||�n`|jt
jkr4xKt
|j�D]7\}}	|	jt
jkr�||	d|dk�q�q�Wn�s>dSx�D]}
|d|
_qEW|}|dkr~d�d_n1t|dj|�r�|�d_|d}nx�D]}
|d|
_q�W�|dj||�<x=t|d|t��d�D]}||dj|_qW|dj�dS(Nulambdausuiteuargsiiiu; ucs�t�j��}|j�}d|_t||j��}|rNd|_n|j|��jtjt	j
|�j�g��dS(Nuu (uNameunew_nameucloneuprefixuAssignureplaceuappendupytreeuNodeusymsusimple_stmt(u	tuple_argu
add_prefixunuargustmt(uendu	new_linesuself(uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyuhandle_tupleCs	
u.FixTupleParams.transform.<locals>.handle_tupleu
add_prefixu F(utransform_lambdauchildrenutypeutokenuINDENTuvalueuNewlineupytreeuLeafuFalseusymsutfpdefu
typedargslistu	enumerateuparentuprefixuis_docstringurangeulenuchanged(uselfunodeuresultsusuiteuargsustartuindentuhandle_tupleuiuargulineuafter((uendu	new_linesuselfuC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu	transform.sF


 



(uFixTupleParams.transformc
CsB|d}|d}t|d�}|jtjkr\|j�}d|_|j|�dSt|�}t|�}|j	t
|��}t|dd�}	|j|	j��x�|j�D]}
|
jtjkr�|
j
|kr�dd�||
j
D�}tjtj|	j�g|�}|
j|_|
j|�q�q�WdS(Nuargsubodyuinneru uprefixcSsg|]}|j��qS((uclone(u.0uc((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu
<listcomp>�s	u3FixTupleParams.transform_lambda.<locals>.<listcomp>(u
simplify_argsutypeutokenuNAMEucloneuprefixureplaceufind_paramsumap_to_indexunew_nameu
tuple_nameuNameu
post_orderuvalueupytreeuNodeusymsupower(
uselfunodeuresultsuargsubodyuinneruparamsuto_indexutup_nameu	new_paramunu
subscriptsunew((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyutransform_lambdans(

	
!uFixTupleParams.transform_lambdaNT(	u__name__u
__module__u__qualname__u	run_orderuTrueu
BM_compatibleuPATTERNu	transformutransform_lambda(u
__locals__((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyuFixTupleParamss

@uFixTupleParamscCso|jtjtjfkr|S|jtjkr[x#|jtjkrV|jd}q4W|Std|��dS(NiuReceived unexpected node %s(utypeusymsuvfplistutokenuNAMEuvfpdefuchildrenuRuntimeError(unode((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu
simplify_args�su
simplify_argscCsP|jtjkr#t|jd�S|jtjkr<|jSdd�|jD�S(NicSs.g|]$}|jtjkrt|��qS((utypeutokenuCOMMAufind_params(u.0uc((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu
<listcomp>�s	ufind_params.<locals>.<listcomp>(utypeusymsuvfpdefufind_paramsuchildrenutokenuNAMEuvalue(unode((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyufind_params�s
ufind_paramscCs�|dkri}nxht|�D]Z\}}ttt|���g}t|t�rnt||d|�q"||||<q"W|S(Nud(uNoneu	enumerateu	SubscriptuNumberustru
isinstanceulistumap_to_index(u
param_listuprefixuduiuobjutrailer((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyumap_to_index�s	umap_to_indexcCsVg}x@|D]8}t|t�r8|jt|��q
|j|�q
Wdj|�S(Nu_(u
isinstanceulistuappendu
tuple_nameujoin(u
param_listuluobj((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu
tuple_name�s
u
tuple_nameN(u__doc__uupytreeupgen2utokenu
fixer_baseu
fixer_utiluAssignuNameuNewlineuNumberu	Subscriptusymsuis_docstringuBaseFixuFixTupleParamsu
simplify_argsufind_paramsuNoneumap_to_indexu
tuple_name(((uC/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu<module>s.l


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-33.pyc
0.15 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyo
0.15 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_apply.cpython-33.pyc
2.109 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_apply.cpython-33.pyo
2.077 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_basestring.cpython-33.pyc
0.992 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_basestring.cpython-33.pyo
0.992 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_buffer.cpython-33.pyc
1.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_buffer.cpython-33.pyo
1.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_callable.cpython-33.pyc
1.727 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_callable.cpython-33.pyo
1.727 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_dict.cpython-33.pyc
4.498 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_dict.cpython-33.pyo
4.376 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_except.cpython-33.pyc
3.893 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_except.cpython-33.pyo
3.893 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exec.cpython-33.pyc
1.609 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exec.cpython-33.pyo
1.577 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_execfile.cpython-33.pyc
2.339 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_execfile.cpython-33.pyo
2.307 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exitfunc.cpython-33.pyc
3.18 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exitfunc.cpython-33.pyo
3.18 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_filter.cpython-33.pyc
2.463 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_filter.cpython-33.pyo
2.463 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_funcattrs.cpython-33.pyc
1.312 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_funcattrs.cpython-33.pyo
1.312 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_future.cpython-33.pyc
1.104 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_future.cpython-33.pyo
1.104 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_getcwdu.cpython-33.pyc
1.114 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_getcwdu.cpython-33.pyo
1.114 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_has_key.cpython-33.pyc
3.783 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_has_key.cpython-33.pyo
3.751 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_idioms.cpython-33.pyc
5.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_idioms.cpython-33.pyo
5.028 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_import.cpython-33.pyc
3.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_import.cpython-33.pyo
3.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports.cpython-33.pyc
6.324 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports.cpython-33.pyo
6.324 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports2.cpython-33.pyc
0.755 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports2.cpython-33.pyo
0.755 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_input.cpython-33.pyc
1.327 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_input.cpython-33.pyo
1.327 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_intern.cpython-33.pyc
2.033 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_intern.cpython-33.pyo
2.033 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_isinstance.cpython-33.pyc
2.026 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_isinstance.cpython-33.pyo
2.026 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools.cpython-33.pyc
1.983 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools.cpython-33.pyo
1.983 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools_imports.cpython-33.pyc
2.265 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools_imports.cpython-33.pyo
2.221 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_long.cpython-33.pyc
1.039 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_long.cpython-33.pyo
1.039 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_map.cpython-33.pyc
3.25 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_map.cpython-33.pyo
3.25 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_metaclass.cpython-33.pyc
7.581 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_metaclass.cpython-33.pyo
7.523 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_methodattrs.cpython-33.pyc
1.322 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_methodattrs.cpython-33.pyo
1.322 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ne.cpython-33.pyc
1.224 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ne.cpython-33.pyo
1.224 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_next.cpython-33.pyc
4.56 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_next.cpython-33.pyo
4.527 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_nonzero.cpython-33.pyc
1.274 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_nonzero.cpython-33.pyo
1.274 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_numliterals.cpython-33.pyc
1.549 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_numliterals.cpython-33.pyo
1.549 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_operator.cpython-33.pyc
6.379 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_operator.cpython-33.pyo
6.379 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_paren.cpython-33.pyc
1.721 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_paren.cpython-33.pyo
1.721 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_print.cpython-33.pyc
3.268 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_print.cpython-33.pyo
3.173 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raise.cpython-33.pyc
2.932 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raise.cpython-33.pyo
2.932 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raw_input.cpython-33.pyc
1.128 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raw_input.cpython-33.pyo
1.128 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_reduce.cpython-33.pyc
1.444 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_reduce.cpython-33.pyo
1.444 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_renames.cpython-33.pyc
2.957 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_renames.cpython-33.pyo
2.957 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_repr.cpython-33.pyc
1.222 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_repr.cpython-33.pyo
1.222 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_set_literal.cpython-33.pyc
2.269 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_set_literal.cpython-33.pyo
2.269 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_standarderror.cpython-33.pyc
1.063 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_standarderror.cpython-33.pyo
1.063 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_sys_exc.cpython-33.pyc
1.985 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_sys_exc.cpython-33.pyo
1.985 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_throw.cpython-33.pyc
2.437 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_throw.cpython-33.pyo
2.437 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_tuple_params.cpython-33.pyc
6.89 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_tuple_params.cpython-33.pyo
6.89 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_types.cpython-33.pyc
2.513 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_types.cpython-33.pyo
2.513 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_unicode.cpython-33.pyc
2.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_unicode.cpython-33.pyo
2.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_urllib.cpython-33.pyc
8.157 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_urllib.cpython-33.pyo
8.157 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ws_comma.cpython-33.pyc
1.579 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ws_comma.cpython-33.pyo
1.579 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xrange.cpython-33.pyc
3.826 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xrange.cpython-33.pyo
3.826 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xreadlines.cpython-33.pyc
1.563 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xreadlines.cpython-33.pyo
1.563 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_zip.cpython-33.pyc
1.542 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_zip.cpython-33.pyo
1.542 KB
17 Apr 2024 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF