?- d Z ddlmZ ddlmZ ddlmZ ddlmZmZm Z m Z mZmZ d Z G d dej Zd Zd Zg dfdZd ZdS )a: 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 )pytree)token) fixer_base)AssignNameNewlineNumber Subscriptsymsc v t | t j o| j d j t j k S )N ) isinstancer Nodechildrentyper STRING)stmts E/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_tuple_params.pyis_docstringr s/ dFK(( 1= EL01 c &