ok
Direktori : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_tuple_params.cpython-311.pyc |
� �f� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZmZm Z m Z mZmZ d� Z G d� dej � � Zd � Zd � Zg dfd�Zd � 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)�Assign�Name�Newline�Number� Subscript�symsc �v � t | t j � � o| j d j t j k S )N� )� isinstancer �Node�children�typer �STRING)�stmts �E/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_tuple_params.py�is_docstringr s/ � ��d�F�K�(�(� 1��=��� �E�L�0�1� c �&