Your IP : 3.15.142.42
�
��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>