| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/ |
Upload File : |
�
� f� c @ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z m Z m Z m
Z
m Z m Z d d � Z
Gd d � d e j � Z d
d � Z d d
� Z g d d d � Z d d � Z d S( 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 ( u pytree( u token( u
fixer_base( u Assignu Nameu Newlineu Numberu Subscriptu symsc C s) t | t j � o( | j d j t j k S( Ni ( u
isinstanceu pytreeu Nodeu childrenu typeu tokenu STRING( u stmt( ( uC /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_tuple_params.pyu is_docstring s u is_docstringc B s>