ok
Direktori : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_apply.cpython-311.opt-1.pyc |
� �f* � �h � d Z ddlmZ ddlmZ ddlmZ ddlmZmZm Z G d� dej � � ZdS ) zIFixer for apply(). This converts apply(func, v, k) into (func)(*v, **k).� )�pytree)�token)� fixer_base)�Call�Comma�parenthesizec � � e Zd ZdZdZd� ZdS )�FixApplyTa. power< 'apply' trailer< '(' arglist< (not argument<NAME '=' any>) func=any ',' (not argument<NAME '=' any>) args=any [',' (not argument<NAME '=' any>) kwds=any] [','] > ')' > > c �~ � | j }|d }|d }|� d� � }|r+|j | j j k r|j d j dv rd S |r-|j | j j k r|j d j dk rd S |j }|� � � }|j t j |j fvr?|j |j k s |j d j t j k rt |� � }d|_ |� � � }d|_ |�|� � � }d|_ t j t j d � � |g}|�N|� t% � � t j t j d� � |g� � d |d _ t'